aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/BuilderExample_post.jpage
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-08-27 23:43:15 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-08-27 23:43:15 +0200
commit60a9799c24f182b3c7e262754b6cc2e3400a4993 (patch)
tree4fb7040d4d0f572f8550cb26ed64baeacdb79eb2 /website/usageExamples/BuilderExample_post.jpage
parent273d8fc53ccbcf0e5e9b3a74489e8ebf8220b546 (diff)
downloadlombok-60a9799c24f182b3c7e262754b6cc2e3400a4993.tar.gz
lombok-60a9799c24f182b3c7e262754b6cc2e3400a4993.tar.bz2
lombok-60a9799c24f182b3c7e262754b6cc2e3400a4993.zip
Revert "changed arraylist to set"
This reverts commit 273d8fc53ccbcf0e5e9b3a74489e8ebf8220b546.
Diffstat (limited to 'website/usageExamples/BuilderExample_post.jpage')
-rw-r--r--website/usageExamples/BuilderExample_post.jpage8
1 files changed, 4 insertions, 4 deletions
diff --git a/website/usageExamples/BuilderExample_post.jpage b/website/usageExamples/BuilderExample_post.jpage
index 638e9e14..24d326b3 100644
--- a/website/usageExamples/BuilderExample_post.jpage
+++ b/website/usageExamples/BuilderExample_post.jpage
@@ -25,7 +25,7 @@ public class BuilderExample {
private boolean created$set;
private String name;
private int age;
- private Set<String> occupations;
+ private java.util.ArrayList<String> occupations;
BuilderExampleBuilder() {
}
@@ -48,7 +48,7 @@ public class BuilderExample {
public BuilderExampleBuilder occupation(String occupation) {
if (this.occupations == null) {
- this.occupations = new Set<String>();
+ this.occupations = new java.util.ArrayList<String>();
}
this.occupations.add(occupation);
@@ -57,7 +57,7 @@ public class BuilderExample {
public BuilderExampleBuilder occupations(Collection<? extends String> occupations) {
if (this.occupations == null) {
- this.occupations = new Set<String>();
+ this.occupations = new java.util.ArrayList<String>();
}
this.occupations.addAll(occupations);
@@ -83,4 +83,4 @@ public class BuilderExample {
return "BuilderExample.BuilderExampleBuilder(created = " + this.created + ", name = " + this.name + ", age = " + this.age + ", occupations = " + this.occupations + ")";
}
}
-}
+} \ No newline at end of file