- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {SimpleDateFormat s =
String pattern;new SimpleDateFormat(pattern)
String template;Locale locale;new SimpleDateFormat(template, locale)
new SimpleDateFormat()
- Smart code suggestions by Codota
}
@Override public boolean removeItem(final TenantIdentifier tenant, final ReferenceDataItem.Type type, final String name) { final ReferenceDataDao dao = new ReferenceDataDaoImpl(); if (type.equals(ReferenceDataItem.Type.DICTIONARY) && getReferenceDataCatalog(tenant).containsDictionary(name)) { dao.removeDictionary(_contextFactory.getContext(tenant), getReferenceDataCatalog(tenant).getDictionary(name)); return true; } if (type.equals(ReferenceDataItem.Type.SYNONYM_CATALOG) && getReferenceDataCatalog(tenant).containsSynonymCatalog(name)) { dao.removeSynonymCatalog(_contextFactory.getContext(tenant), getReferenceDataCatalog(tenant).getSynonymCatalog(name)); return true; } if (type.equals(ReferenceDataItem.Type.STRING_PATTERN) && getReferenceDataCatalog(tenant).containsStringPattern(name)) { dao.removeStringPattern(_contextFactory.getContext(tenant), getReferenceDataCatalog(tenant).getStringPattern(name)); return true; } return false; }