[java-metadata-aggregator] 03/04: Field annotations

Ian Young ian at iay.org.uk
Thu Jul 9 14:51:34 UTC 2020


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=432f51d79fdfe9cadb20037bc52932a16e5ea5d0

commit 432f51d79fdfe9cadb20037bc52932a16e5ea5d0
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Jul 9 13:42:49 2020 +0100

    Field annotations
---
 .../src/main/java/net/shibboleth/metadata/AbstractItem.java           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/AbstractItem.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/AbstractItem.java
index bbdc973..863a6b2 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/AbstractItem.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/AbstractItem.java
@@ -33,7 +33,7 @@ import net.shibboleth.utilities.java.support.collection.ClassToInstanceMultiMap;
 public abstract class AbstractItem<T> implements Item<T> {
 
     /** The actual data held by the item. */
-    private T data;
+    @Nullable private T data;
 
     /** Additional processing information associated with this Item. */
     private final ClassToInstanceMultiMap<ItemMetadata> metadata;
@@ -61,4 +61,4 @@ public abstract class AbstractItem<T> implements Item<T> {
     @Nonnull @NonnullElements public ClassToInstanceMultiMap<ItemMetadata> getItemMetadata() {
         return metadata;
     }
-}
\ No newline at end of file
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list