From 4156bdfe8ef8af2cc1d48a185e62fdf83e14c8ed Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Wed, 4 Dec 2024 11:20:19 +0100 Subject: Mark Attribute#getValue as @Nullable Change-Id: I172c43ff2e3e682f38a91ce288190245fa5d5ebe --- org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java') 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. *

@@ -139,6 +141,7 @@ public final class Attribute { * * @return the attribute value (may be null) */ + @Nullable public String getValue() { return value; } -- cgit v1.2.3