Skip to content

Commit

Permalink
fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
mebigfatguy committed Nov 26, 2024
1 parent 174f64a commit bf7d2c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etc/messages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6505,8 +6505,10 @@ if (shouldCalcHalting && (calculateHaltingProbability() > 0) { }
by passing the source collection into a new Collection constructors argument. Use,
<code><pre>
Set<String> s = new HashSet<myArrayList);
Set<String> s = new HashSet<>(myArrayList);
</pre></code>
instead of:
<code><pre>
Set<String> s = myArrayList.stream().collect(Collectors.toSet);
Expand Down

0 comments on commit bf7d2c6

Please sign in to comment.