diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-12-06 01:09:42 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-12-06 01:09:42 +0100 |
commit | e3c799dc95f2c5569f8a12f1bb7ec190950e4bdd (patch) | |
tree | 58155f74f3dcef1161ad60f3d997fa408aa7f19e /org.eclipse.jgit/src/org/eclipse/jgit/attributes | |
parent | bd57a19fa35b6de493926e2996b28235b96b5690 (diff) | |
parent | cca2ef12eec44b5b2140761baf13e2a611a654f3 (diff) | |
download | jgit-e3c799dc95f2c5569f8a12f1bb7ec190950e4bdd.tar.gz jgit-e3c799dc95f2c5569f8a12f1bb7ec190950e4bdd.zip |
Merge branch 'stable-7.1'
* stable-7.1:
FileSnapshot: silence "Not a Directory" exceptions
FileSnapshot: refactor to share error handling
Mark Attribute#getValue as @Nullable
Fix potential NPE in ResolveMerger#getAttributesContentMergeStrategy
Fix NPE in DiffFormatter#getDiffDriver
Pack: ensure packfile is still valid while still recoverable
WindowCache: add bulk purge(), call from bulk sites
UploadPack#implies: add missing @since tag
Disable MergeToolTest#testEmptyToolName
Change-Id: Ifa8df2b9e6e4ee371113b7114fe20b42333e3718
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/attributes')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java | 3 |
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; } |