Support setting the max method and constructor lengths

This commit is contained in:
Oliver Burn 2002-01-06 06:30:29 +00:00
parent a3d490b41f
commit 0957b67c1d
1 changed files with 12 additions and 0 deletions

View File

@ -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
*/