minor improvement in object creation

This commit is contained in:
Rick Giles 2003-07-06 20:25:44 +00:00
parent 0cd7b4fe60
commit 89b56ea0ea
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class HiddenFieldCheck
{
/** stack of sets of field names,
* one for each class of a set of nested classes */
private LinkedList mFieldsStack = null;
private LinkedList mFieldsStack = new LinkedList();
/** the regexp to match against */
private RE mRegexp = null;
@ -94,7 +94,7 @@ public class HiddenFieldCheck
/** @see com.puppycrawl.tools.checkstyle.api.Check */
public void beginTree(DetailAST aRootAST)
{
mFieldsStack = new LinkedList();
mFieldsStack.clear();
}
/** @see com.puppycrawl.tools.checkstyle.api.Check */