I was looking through the code for the primitive cylinder, while wondering what I should use for the curved areas of my rail tracks. And I noticed this
if (true) batch.getNormalBuffer().put(tempNormal.x).put(tempNormal.y).put(tempNormal.z);
else batch.getNormalBuffer().put(-tempNormal.x).put(-tempNormal.y).put(-tempNormal.z);
I may have overlooked something or I may be forgetting some feature in Java, but when is the else supposed to be evaluated?