Cleanup java warnings.
Fix inverted logic causing a NPE in GenBinaryPatches, task now runs.