Skip to content

Commit

Permalink
Merge pull request eclipse-openj9#395 from adamfarley/change_external…
Browse files Browse the repository at this point in the history
…messagesextension_class_for_openjdk7_d2

Update ExternalMessagesExtension.java for OpenJDK7
  • Loading branch information
keithc-ca authored Oct 21, 2017
2 parents 38b468a + 5004f37 commit d785312
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ public void notifyBuildEnd() {
// add the existing messages to the found messages (unless the
// message was already in the found messages)
for (Map.Entry<String, String> entry : existingMessages.entrySet()) {
messages.putIfAbsent(entry.getKey(), entry.getValue());
if (messages.get(entry.getKey()) == null) {
messages.put(entry.getKey(), entry.getValue());
}
}
}
writeMessages();
Expand Down

0 comments on commit d785312

Please sign in to comment.