]> source.dussan.org Git - jgit.git/commitdiff
cleanup: Get rid of some unused-warnings 07/5307/1
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 9 Mar 2012 12:10:58 +0000 (13:10 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 9 Mar 2012 12:30:20 +0000 (13:30 +0100)
Change-Id: Ia3e82682781c6b5bc3141b3e27db67b93c3162cd

org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java

index f100390e4ef70cec115f6b90fa288d0b7a856648..beb6e3164343663a4b2f731aafb94b180cf04f32 100644 (file)
@@ -65,7 +65,7 @@ class Fetch extends AbstractFetchCommand {
        private Boolean fsck;
 
        @Option(name = "--no-fsck")
-       void nofsck(final boolean ignored) {
+       void nofsck(@SuppressWarnings("unused") final boolean ignored) {
                fsck = Boolean.FALSE;
        }
 
@@ -79,7 +79,7 @@ class Fetch extends AbstractFetchCommand {
        private Boolean thin;
 
        @Option(name = "--no-thin")
-       void nothin(final boolean ignored) {
+       void nothin(@SuppressWarnings("unused") final boolean ignored) {
                thin = Boolean.FALSE;
        }
 
index 83f1ee1779a2911446c7da547b85b47dfe113665..677e7332c3956883a71026f78751f549e6890b8b 100644 (file)
@@ -89,7 +89,7 @@ class Push extends TextBuiltin {
        private boolean thin = Transport.DEFAULT_PUSH_THIN;
 
        @Option(name = "--no-thin")
-       void nothin(final boolean ignored) {
+       void nothin(@SuppressWarnings("unused") final boolean ignored) {
                thin = false;
        }