[java-metadata-aggregator] 03/04: Correct method annotation
Ian Young
ian at iay.org.uk
Thu Mar 3 17:41:34 UTC 2022
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=5ce2089ef9388a3a05427648bc1ab3bdaffd18f9
commit 5ce2089ef9388a3a05427648bc1ab3bdaffd18f9
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Mar 3 17:34:26 2022 +0000
Correct method annotation
---
.../java/net/shibboleth/metadata/dom/DOMFilesystemSourceStage.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mda-framework/src/main/java/net/shibboleth/metadata/dom/DOMFilesystemSourceStage.java b/mda-framework/src/main/java/net/shibboleth/metadata/dom/DOMFilesystemSourceStage.java
index c3121e5..0a7514a 100644
--- a/mda-framework/src/main/java/net/shibboleth/metadata/dom/DOMFilesystemSourceStage.java
+++ b/mda-framework/src/main/java/net/shibboleth/metadata/dom/DOMFilesystemSourceStage.java
@@ -275,7 +275,8 @@ public class DOMFilesystemSourceStage extends AbstractStage<Element> {
* @throws StageProcessingException thrown if there is a problem reading in the Element and
* {@link #errorCausesSourceFailure} is true
*/
- @Nonnull protected DOMElementItem processSourceFile(@Nonnull final File source) throws StageProcessingException {
+ @Nullable
+ protected DOMElementItem processSourceFile(@Nonnull final File source) throws StageProcessingException {
log.debug("{} pipeline source parsing XML file {}", getId(), source.getPath());
try (FileInputStream xmlIn = new FileInputStream(source)) {
final Document doc = getParserPool().parse(xmlIn);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list