- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {DateTime d =
new DateTime()
DateTimeFormatter formatter;String text;formatter.parseDateTime(text)
Object instant;new DateTime(instant)
- Smart code suggestions by Codota
}
@Override public void destroyDataSource(DataSource ds) { if(null != ds) { try { dataSourceManager.destroyDataSource(ds); } catch (Exception e) { log.error("Error destroying data source, {}", e.getMessage(), e); } } }