aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-12-04 11:20:19 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2024-12-05 23:46:08 +0100
commit4156bdfe8ef8af2cc1d48a185e62fdf83e14c8ed (patch)
treef427da8826f33a09f9778a626c19e0855d563c5e
parent7f246a05dcbf11a6c9dcd21215f38f62ad801866 (diff)
downloadjgit-4156bdfe8ef8af2cc1d48a185e62fdf83e14c8ed.tar.gz
jgit-4156bdfe8ef8af2cc1d48a185e62fdf83e14c8ed.zip
Mark Attribute#getValue as @Nullable
Change-Id: I172c43ff2e3e682f38a91ce288190245fa5d5ebe
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java b/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java
index fe3e22a21f..9c4d8700a2 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java
@@ -9,6 +9,8 @@
*/
package org.eclipse.jgit.attributes;
+import org.eclipse.jgit.annotations.Nullable;
+
/**
* Represents an attribute.
* <p>
@@ -139,6 +141,7 @@ public final class Attribute {
*
* @return the attribute value (may be <code>null</code>)
*/
+ @Nullable
public String getValue() {
return value;
}