Skip to content

Commit

Permalink
Fix ObjId2FullSidMap memory allocations (#411)
Browse files Browse the repository at this point in the history
Co-authored-by: Leon Schiesswald <[email protected]>
  • Loading branch information
schiasileon and schiasileon authored May 16, 2023
1 parent efd011e commit c02ba0b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ public String getOrOriginal(String objectId) {
if (containsKey(extractedObjectId)) {
return get(extractedObjectId);
}
String objValuesPrefix = objectId + " (";
for (String value : values()) {
if (value.startsWith(objectId + " (")) {
if (value.startsWith(objValuesPrefix)) {
return value;
}
}
Expand Down

0 comments on commit c02ba0b

Please sign in to comment.