Loading src/main/java/org/gesis/dda/publishing/domain/impl/XsltTransformerOaiPmhBundlesStreamSource.java +3 −1 Original line number Diff line number Diff line Loading @@ -144,13 +144,15 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo // exeley only takes "YYY-mm-dd" as from date String exeleyFrom = from.split("T")[0]; // String exeleyUntil= until.split("T")[0]; LOG.info("exeley specials: {} -> {}", exeleyFrom, until); if (setSpec == null || setSpec.trim().isEmpty() && mp.equals("pam")) { LOG.info("exeley specials: {} -> {}", exeleyFrom, until); return client.listIdentifiersStream(mp, exeleyFrom, until, null); } else if (setSpec == null || setSpec.trim().isEmpty()) { return client.listIdentifiersStream(mp, from, until, null); } if ( mp.equals("pam") ) { LOG.info("exeley specials: {} -> {}", exeleyFrom, until); return client.listIdentifiersStream(mp, exeleyFrom, until, setSpec); } return client.listIdentifiersStream(mp, from, until, setSpec); Loading Loading
src/main/java/org/gesis/dda/publishing/domain/impl/XsltTransformerOaiPmhBundlesStreamSource.java +3 −1 Original line number Diff line number Diff line Loading @@ -144,13 +144,15 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo // exeley only takes "YYY-mm-dd" as from date String exeleyFrom = from.split("T")[0]; // String exeleyUntil= until.split("T")[0]; LOG.info("exeley specials: {} -> {}", exeleyFrom, until); if (setSpec == null || setSpec.trim().isEmpty() && mp.equals("pam")) { LOG.info("exeley specials: {} -> {}", exeleyFrom, until); return client.listIdentifiersStream(mp, exeleyFrom, until, null); } else if (setSpec == null || setSpec.trim().isEmpty()) { return client.listIdentifiersStream(mp, from, until, null); } if ( mp.equals("pam") ) { LOG.info("exeley specials: {} -> {}", exeleyFrom, until); return client.listIdentifiersStream(mp, exeleyFrom, until, setSpec); } return client.listIdentifiersStream(mp, from, until, setSpec); Loading