-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No need to avoid reusing the Map object
- Loading branch information
1 parent
372130f
commit 2d983f2
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -221,7 +221,7 @@ public Validator(final ValidatorResources resources, final String formName, fina | |
public void clear() { | ||
formName = null; | ||
fieldName = null; | ||
parameters = new HashMap<>(); | ||
parameters.clear(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
garydgregory
Author
Member
|
||
page = 0; | ||
} | ||
|
||
|
What would happen if subclass set it to
null
?