Noticed that this boolean parameter was ignored. (#1041)

After some quick analysis, implemented that way it probably should be used.

Of course, this could have been on purpose, please advise.
This commit is contained in:
Koen De Groote
2017-06-19 21:39:58 +12:00
committed by Rob Bygrave
parent 7a2e0b3695
commit 5a3669e1db
+6 -1
View File
@@ -158,7 +158,12 @@ public class EJson {
if (list == null) {
return null;
}
return ((ModifyAwareList) list).asSet();
if (modifyAware) {
return ((ModifyAwareList) list).asSet();
} else {
return new LinkedHashSet<>(list);
}
}
/**