From bf7d2c63e6ebf38c7ce7454509c6f58893722eda Mon Sep 17 00:00:00 2001 From: Dave Brosius Date: Tue, 26 Nov 2024 15:00:08 -0500 Subject: [PATCH] fix message --- etc/messages.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/messages.xml b/etc/messages.xml index 1bbbd3a8..a1ab97dc 100755 --- a/etc/messages.xml +++ b/etc/messages.xml @@ -6505,8 +6505,10 @@ if (shouldCalcHalting && (calculateHaltingProbability() > 0) { } by passing the source collection into a new Collection constructors argument. Use,
-        		Set s = new HashSet s = new HashSet<>(myArrayList);
         	
+ + instead of:
         		Set s = myArrayList.stream().collect(Collectors.toSet);