From a82c107e9eeb5c4b573a6407339da535f7fe39c9 Mon Sep 17 00:00:00 2001 From: rfeldman Date: Thu, 15 Sep 2016 10:04:09 -0400 Subject: [PATCH] #249 --- src/edu/si/CDIS/CDIS.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/edu/si/CDIS/CDIS.java b/src/edu/si/CDIS/CDIS.java index f7e9eb5f7..2df7fe7c9 100644 --- a/src/edu/si/CDIS/CDIS.java +++ b/src/edu/si/CDIS/CDIS.java @@ -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) {