How can I convert Map to Map ?
Map
This does not work:
Map map = ne
private Map convertAttributes(final Map attributes) { final Map result = new HashMap(); for (final Map.Entry entry : attributes.entrySet()) { result.put(entry.getKey(), String.valueOf(entry.getValue())); } return result; }