Support setting the max method and constructor lengths
This commit is contained in:
parent
a3d490b41f
commit
0957b67c1d
|
|
@ -114,6 +114,18 @@ public class CheckStyleTask
|
|||
mConfig.setMaxLineLength(aLen);
|
||||
}
|
||||
|
||||
/** @param aLen max allowed method length **/
|
||||
public void setMaxMethodLen(int aLen)
|
||||
{
|
||||
mConfig.setMaxMethodLength(aLen);
|
||||
}
|
||||
|
||||
/** @param aLen max allowed constructor length **/
|
||||
public void setMaxConstructorLen(int aLen)
|
||||
{
|
||||
mConfig.setMaxConstructorLength(aLen);
|
||||
}
|
||||
|
||||
/** @param aIgnore whether max line length should be ignored for
|
||||
* import statements
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue