[java] (java-lib) inverted the order of checks
[java] (java-lib) inverted the order of checks


pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe