summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-08-31 20:32:39 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-08-31 21:40:10 +0900
commitde5eb5e2cd962966ef81ef53b573df9dfc65c089 (patch)
tree670c9ca206cf9bdd3057f1b9699da524760d7c38
parent9c1fcf6ad7eb1378c39bfcff930ff468bd668d09 (diff)
downloadjgit-de5eb5e2cd962966ef81ef53b573df9dfc65c089.tar.gz
jgit-de5eb5e2cd962966ef81ef53b573df9dfc65c089.zip
FsckPackParser: Fix "Empty block should be documented" warnings
Add "Do nothing" comments, consistent with other empty methods in the same class. Change-Id: I27a13a402e94104af617be0e14d8982e75fa73bd Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java
index fa5abaa6d9..e5cc36965d 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java
@@ -172,6 +172,7 @@ public class FsckPackParser extends PackParser {
@Override
protected void onPackFooter(byte[] hash) throws IOException {
+ // Do nothing.
}
@Override
@@ -183,6 +184,7 @@ public class FsckPackParser extends PackParser {
@Override
protected void onEndThinPack() throws IOException {
+ // Do nothing.
}
@Override
@@ -253,6 +255,7 @@ public class FsckPackParser extends PackParser {
@Override
protected void onStoreStream(byte[] raw, int pos, int len)
throws IOException {
+ // Do nothing.
}
/**