Pmd

Hi Klacke, we are planning to do some additional work on jnc, in advance I'm going to go through and do some static analysis, after iteration I'll send you a pull request for the updates. 

I've confirmed the changes against the existing unit tests in the jnc folder.

Thanks,
Damian.