Skip to content

Commit

Permalink
PUBLIC: Remove an unnecessary ImmutableMap.copyOf.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 704498687
  • Loading branch information
eamonnmcmanus authored and Error Prone Team committed Dec 10, 2024
1 parent 5d4c57d commit 31074b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private ErrorProneFlags(ImmutableMap<String, String> flagsMap) {
}

public ImmutableMap<String, String> getFlagsMap() {
return ImmutableMap.copyOf(flagsMap);
return flagsMap;
}

/**
Expand Down

0 comments on commit 31074b5

Please sign in to comment.