Skip to content

Commit

Permalink
Merge pull request #1429 from Akash3121/patch-2
Browse files Browse the repository at this point in the history
Removed a typo in ImmutableSet
  • Loading branch information
donraab committed Feb 1, 2023
2 parents 9f63903 + 91a8574 commit 5794718
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/2-Collection_Containers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,6 @@ PartitionMutableList<Person> partitionedFolks =
ImmutableList<Person> list0 = Lists.immutable.empty();
ImmutableList<Person> list1 = list0.newWith(new Person(...)); // add a single element to the new immutable list
ImmutableList<Person> adults = list1.newWithAll(partitionedFolks.getSelected()); // add none, one or more objects to the new immutable list
I
ImmutableSet<String> set0 = Sets.immutable.empty();
ImmutableSet<String> set1 = set0.newWith("1"); // add a single element to the new immutable set
Expand Down

0 comments on commit 5794718

Please sign in to comment.