No effective change - code cleanup - change return to void

This commit is contained in:
Robin Bygrave committed 2015-07-31 20:28:41 +12:00
1 parent ea504a93cf
commit f06c1b83a9
21 files changed
+45 -72

No files matched your search

@@ -103,7 +103,7 @@ public class DeployOrmXml {
return ormXmlList;
}
private boolean readOrmXml(String ormXmlName, ArrayList<Dnode> ormXmlList) {
private void readOrmXml(String ormXmlName, ArrayList<Dnode> ormXmlList) {
try {
Dnode ormXml = null;
@@ -120,14 +120,10 @@ public class DeployOrmXml {
if (ormXml != null) {
ormXml.setAttribute("ebean.filename", ormXmlName);
ormXmlList.add(ormXml);
return true;
} else {
return false;
}
} catch (IOException e) {
logger.error("error reading orm xml deployment " + ormXmlName, e);
return false;
}
}