Skip to content

Commit

Permalink
Small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
jqno committed Dec 5, 2024
1 parent 58e7e2e commit 17871bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public Tuple<T> createValues(

T blue = createEmpty.get();
if (!redKey.equals(blueKey)) { // This happens with single-element enums
blue.put(valueProvider.giveBlue(keyTag), blueValue);
blue.put(blueKey, blueValue);
}

T redCopy = createEmpty.get();
Expand Down

0 comments on commit 17871bc

Please sign in to comment.