Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rgfeldman committed Sep 15, 2016
1 parent 6b20190 commit a82c107
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/edu/si/CDIS/CDIS.java
Original file line number Diff line number Diff line change
Expand Up @@ -315,17 +315,15 @@ public static void main(String[] args) {
}
CDIS.siHoldingUnit = collectionGrp.getSiHoldingUnit();

if (! CDIS.getOperationType().equals("linkToDAMS") ) {
// read the XML config file
XmlSqlConfig xml = new XmlSqlConfig();
boolean xmlReturn = xml.read(CDIS.getCollectionGroup(), CDIS.getOperationType());
if (! xmlReturn) {
logger.log(Level.SEVERE, "Fatal Error: unable to read/parse sql xml file");
return;
}
// save the queries in a Node List
CDIS.queryNodeList = xml.getOpQueryNodeList();
// read the XML config file
XmlSqlConfig xml = new XmlSqlConfig();
boolean xmlReturn = xml.read(CDIS.getCollectionGroup(), CDIS.getOperationType());
if (! xmlReturn) {
logger.log(Level.SEVERE, "Fatal Error: unable to read/parse sql xml file");
return;
}
// save the queries in a Node List
CDIS.queryNodeList = xml.getOpQueryNodeList();

switch (CDIS.operationType) {

Expand Down

0 comments on commit a82c107

Please sign in to comment.