Condition syntax help - somehow 195 != 195?

This.

If you were allowed to use reflection you would still see that state.currentSchedulePriority.getClass().getName() is java.lang.String at any point in that execution. You have verified that it is in integer format. Now you need to toInteger() it in the comparisons (or another one of the ways you could convert it).

2 Likes