I am facing something strange here. Please help me understand if I am missing something. My if condition was supposed to be:
if(configuredPdf == true)
configuredPdf must be a boolean for if(configuredPdf = true) to compile.
configuredPdf
if(configuredPdf = true)
configuredPdf = true will assign true to configuredPdf and thus if will succeed.
configuredPdf = true
true
if