diff options
author | Ivan Frade <ifrade@google.com> | 2024-07-09 13:29:15 -0700 |
---|---|---|
committer | Ivan Frade <ifrade@google.com> | 2024-10-30 15:31:27 -0700 |
commit | 793df21ed5c75613b0eb7f300857d56779d5c502 (patch) | |
tree | 724e3678d7e775b66777fe271dbb451bee1d02dc /org.eclipse.jgit/src | |
parent | d861ad1f5a1fdaf49b9c4b641e7d298b7acea6ad (diff) | |
download | jgit-793df21ed5c75613b0eb7f300857d56779d5c502.tar.gz jgit-793df21ed5c75613b0eb7f300857d56779d5c502.zip |
[errorprone] ByteArraySet: Add summary fragment to javadoc
Reported by error prone.
Change-Id: Icaa69c37d0cde19fc605cb3f3c5f9ed9abfb37d3
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ByteArraySet.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ByteArraySet.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ByteArraySet.java index bcf79a285d..33db6ea661 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ByteArraySet.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ByteArraySet.java @@ -13,12 +13,12 @@ package org.eclipse.jgit.treewalk.filter; -import org.eclipse.jgit.util.RawParseUtils; - import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; +import org.eclipse.jgit.util.RawParseUtils; + /** * Specialized set for byte arrays, interpreted as strings for use in * {@link PathFilterGroup.Group}. Most methods assume the hash is already know @@ -141,13 +141,19 @@ class ByteArraySet { } /** + * Returns number of arrays in the set + * * @return number of arrays in the set */ int size() { return size; } - /** @return true if {@link #size()} is 0. */ + /** + * Returns true if {@link #size()} is 0 + * + * @return true if {@link #size()} is 0 + */ boolean isEmpty() { return size == 0; } |