[java-metadata-aggregator] branch main updated: Remove dead code
Ian Young
ian at iay.org.uk
Mon Apr 3 18:57:53 UTC 2023
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch main
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=66d234a8e6359451b867768403a333d4b3be78ea
The following commit(s) were added to refs/heads/main by this push:
new 66d234a Remove dead code
66d234a is described below
commit 66d234a8e6359451b867768403a333d4b3be78ea
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Apr 3 19:57:45 2023 +0100
Remove dead code
---
.../src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/mda-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java b/mda-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java
index 0b32845..d4facf8 100644
--- a/mda-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java
+++ b/mda-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java
@@ -146,11 +146,6 @@ public final class SimpleCommandLine {
log.debug("Retrieving pipeline from Spring context");
final String pipelineName = cli.getPipelineName();
final Pipeline<?> pipeline = appCtx.getBean(pipelineName, Pipeline.class);
- if (pipeline == null) {
- throw new ErrorException(RC_INIT,
- "No net.shibboleth.metadata.pipeline.Pipeline, with ID " + pipelineName +
- " defined in Spring configuration");
- }
try {
if (!pipeline.isInitialized()) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list