private static void addEntry(PropertyType type, int numKeys, String template) { if (!templateMap.containsKey(type)) { templateMap.put(type, new HashMap<Integer, String>()); } logger.trace("Adding template for type:" + type.getType() + " arguments:" + numKeys + " template:" + template); templateMap.get(type).put(numKeys, template); }
private static void addEntry(PropertyType type, int numKeys, String template) { if (!templateMap.containsKey(type)) { templateMap.put(type, new HashMap<Integer, String>()); } logger.trace("Adding template for type:" + type.getType() + " arguments:" + numKeys + " template:" + template); templateMap.get(type).put(numKeys, template); }