mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
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:
committed by
Rob Bygrave
parent
7a2e0b3695
commit
5a3669e1db
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user