Increase performance on java 8

This commit is contained in:
Brian Devins-Suresh 2020-02-24 17:10:41 -05:00
parent af67dfa720
commit 5ebc13cafa
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class ReferenceMatcher implements WeakMap.ValueSupplier<ClassLoader, Bool
@Override @Override
public Boolean get(final ClassLoader loader) { public Boolean get(final ClassLoader loader) {
final List<Mismatch> mismatches = new ArrayList<>(0); final List<Mismatch> mismatches = new ArrayList<>();
for (final Reference reference : references) { for (final Reference reference : references) {
if (mismatches.size() > 0) { if (mismatches.size() > 0) {