jeudi 1 janvier 2015

weird Grails application code behavior

i'm facing a very weird problem in my Grails application code, i'm using Grails 2.3.4 on Windows 7 ,


here is below my code :



if (false){
//do some stuff
}


although that this condition is false it still goes inside the if closure as if the condition is true !! i printed the condition's result it was false , any advice for this wired behavior ?


Aucun commentaire:

Enregistrer un commentaire