Improved: MethodLength checkstyle rule, earlier it was set as default to 150, as per discussion over ML changed it to 500 and also set countEmpty propety as false.
Thanks: Jacques for your thoughts and suggestions.
@@ -65,7 +65,11 @@ under the License.
</module>
<!-- Checks for Size Violations -->
- <module name="MethodLength"/>
+ <module name="MethodLength">
+ <property name="tokens" value="METHOD_DEF"/>
+ <property name="max" value="500"/>
+ <property name="countEmpty" value="false"/>
+ </module>
<module name="ParameterNumber"/>
<!-- Checks for whitespace -->
