private static Map<String, String> getPropertyValueMap(RealmPropertyDTO[] properties) { Map<String, String> map = new HashMap<String, String>(); if (properties == null) { return map; } for (int i = 0; i < properties.length; i++) { map.put(properties[i].getName(), properties[i].getValue()); } return map; }
private static Map<String, String> getPropertyValueMap(RealmPropertyDTO[] properties) { Map<String, String> map = new HashMap<String, String>(); if(properties == null) { return map; } for (int i = 0; i < properties.length; i++) { map.put(properties[i].getName(), properties[i].getValue()); } return map; }