private void addUserToken(Map<String,Set<String>> userLinktoTokenMap,String userServiceLink,String token){
  Set<String> tokenSet=userLinktoTokenMap.get(userServiceLink);
  if (tokenSet == null) {
    tokenSet=new HashSet<String>();
  }
  tokenSet.add(token);
  userLinktoTokenMap.put(userServiceLink,tokenSet);
}

private void addUserToken ( Map < String , Set < String > > userLinktoTokenMap , String userServiceLink , String token ) { Set < String > tokenSet = userLinktoTokenMap . get ( userServiceLink ) ; if ( tokenSet == null ) { tokenSet = new HashSet < String > ( ) ; } tokenSet . add ( token ) ; userLinktoTokenMap . put ( userServiceLink , tokenSet ) ; }
helper method to associate a token with a userservicelink
