Roberto Sánchez
2014-01-21 d7a35d13cd691e6821f774b624e4203a404e67d9
securis/src/main/java/net/curisit/securis/db/User.java
....@@ -181,10 +181,10 @@
181181 }
182182
183183 @JsonProperty("organizations_ids")
184
- public List<Integer> getOrgsIds() {
184
+ public Set<Integer> getOrgsIds() {
185185 if (organizations == null)
186186 return null;
187
- List<Integer> ids = new ArrayList<>();
187
+ Set<Integer> ids = new HashSet<>();
188188 for (Organization org : organizations) {
189189 ids.add(org.getId());
190190 }