mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - code cleanup - change return to void
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user