Pruned code in Java mode
Merge pull request #27 from whyi/prune_it

Pruned code in Java mode