Skip to content

Commit

Permalink
Merge pull request #2 from VEINHORN/master
Browse files Browse the repository at this point in the history
replace hashmap by map interface
  • Loading branch information
edolganov committed Jul 9, 2015
2 parents cc2e1e5 + 961e9b6 commit f78762b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-chat/src/och/chat/service/model/UserSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public UserSession(InitUserTokenReq data){
public Map<String, Set<PrivilegeType>> clonePrivsByAcc(){

if(isEmpty(privsByAcc)) return emptyMap();
HashMap<String, Set<PrivilegeType>> out = new HashMap<>();
Map<String, Set<PrivilegeType>> out = new HashMap<>();
for (Entry<String, Set<PrivilegeType>> entry : privsByAcc.entrySet()) {
out.put(entry.getKey(), new HashSet<>(entry.getValue()));
}
Expand Down

0 comments on commit f78762b

Please sign in to comment.