Commit 60a170de authored by Steinberg, Jan's avatar Steinberg, Jan
Browse files

setSpec null pointer because of wrong if clause

parent a0e052df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo
                stream().
        flatMap(mp -> {
            LOG.debug("filling list identifier stream with mp {}, from {}, until {}, setSpec {}", mp, from, until, setSpec);
            if (setSpec.isEmpty() || setSpec == null) {
            if (setSpec == null|| setSpec.trim().isEmpty()) {
                return client.listIdentifiersStream(mp, from, until, null);
            }
            return client.listIdentifiersStream(mp, from, until, setSpec);