Skip to content

Commit

Permalink
Fix copy/paste error: Trim xrefs array list when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
sesuncedu committed Aug 9, 2015
1 parent 7982664 commit 19b07b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ void freezeXrefs() {
xrefs = Collections.singletonList(xref);
break;
default:
if (values instanceof ArrayList) {
((ArrayList) values).trimToSize();
if (xrefs instanceof ArrayList) {
((ArrayList) xrefs).trimToSize();
}
}
}
Expand Down

0 comments on commit 19b07b2

Please sign in to comment.