aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src/org/eclipse/jgit
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2012-03-09 13:10:58 +0100
committerRobin Rosenberg <robin.rosenberg@dewire.com>2012-03-09 13:30:20 +0100
commit66e8cd4eec3169bd12a56c22a0b325fdec3387de (patch)
treef3b2db728c1e384c7392cb40b08921aacf417d4d /org.eclipse.jgit.pgm/src/org/eclipse/jgit
parentc7f70c05584409c52c00278888a62d72251d7f6d (diff)
downloadjgit-66e8cd4eec3169bd12a56c22a0b325fdec3387de.tar.gz
jgit-66e8cd4eec3169bd12a56c22a0b325fdec3387de.zip
cleanup: Get rid of some unused-warnings
Change-Id: Ia3e82682781c6b5bc3141b3e27db67b93c3162cd
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org/eclipse/jgit')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java4
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java
index f100390e4e..beb6e31643 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java
@@ -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;
}
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java
index 83f1ee1779..677e7332c3 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java
@@ -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;
}