Cleaned most of the checkstyle errors on complexity but this thing definitely needs to be rewritten
Removed parameter non-reassignment rule
Fixed unittest failure
Merge pull request #2787 from noctarius/checkstyle-partition-package

Cleaned most of the checkstyle errors on complexity but this thing defin...