[Minor] ObjectFilter has a default cache of 1
This commit is contained in:
parent
98ff483ed6
commit
7db2e3aa1b
|
@ -91,8 +91,8 @@ public class ObjectFilter {
|
|||
* Default constructor initializing the filter
|
||||
*/
|
||||
public ObjectFilter() {
|
||||
this.cache = new MapOfMaps<>();
|
||||
this.keySet = new HashSet<>();
|
||||
this.cache = new MapOfMaps<>(1);
|
||||
this.keySet = new HashSet<>(1);
|
||||
}
|
||||
|
||||
private void replaceKey(ObjectCache cached, Object newObjectKey, Object newObject) {
|
||||
|
|
Loading…
Reference in New Issue