\r
/**\r
* Dumps all registry settings for debugging purposes.\r
+ * @return a String representation of the URI Template Registry settings\r
*/\r
+ @Override\r
public String toString() {\r
- StringBuffer sb = new StringBuffer("");\r
+ StringBuilder sb = new StringBuilder("");\r
for (Map.Entry<UriTemplateRegistryKey, StoredValuesUriTemplate> uriTemplateEntry : this.entrySet()) {\r
sb.append("Tenant : DocType = ");\r
sb.append(uriTemplateEntry.getKey().getTenantId());\r
sb.append(uriTemplateEntry.getKey().getDocType());\r
sb.append('\n');\r
sb.append(" Value of Template = ");\r
- sb.append(" " + uriTemplateEntry.getValue().toString());\r
+ sb.append(" ");\r
+ sb.append(uriTemplateEntry.getValue().toString());\r
sb.append('\n');\r
}\r
return sb.toString();\r
additionalValues.put(UriTemplateFactory.IDENTIFIER_VAR, csid);
}
String uriStr = storedValuesResourceTemplate.buildUri(additionalValues);
- // Need to get the URI for the document, by it's type.
- // item.put(STANDARD_LIST_URI_FIELD, getUriFromServiceBinding(sb, csid));
item.put(STANDARD_LIST_URI_FIELD, uriStr);
try {