code: private static Presence deserialize(String message){
  		Presence result = new Presence();
  		
  		if(!Strings.isNullOrEmpty(message))
  		{
  			JSONObject json = (JSONObject) (JSONValue.parse(message));
  			
  			if (json != null) {
  				result.setSubscriptions((Long) json.get("subscriptions"));
  				
  				JSONObject jsonMetadata = (JSONObject)json.get("metadata");
  				if(jsonMetadata != null){
  					@SuppressWarnings("unchecked")
  					Iterator<?> iter = ((Map<String, Long>) jsonMetadata).entrySet().iterator();
  					while (iter.hasNext()) {
  						@SuppressWarnings("unchecked")
  						Map.Entry<String, Long> entry = (Map.Entry<String, Long>) iter.next();
  						
  						result.metadata.put(entry.getKey(), entry.getValue());
  					}
  				}
  			}
  		}		
  		
  		return result;
  	}
docs: CAUSE: Method names should start with a lower case letter