aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm
diff options
context:
space:
mode:
authorShawn Pearce <sop@google.com>2012-03-12 10:16:42 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2012-03-12 10:16:42 -0400
commit0a69f05647b05b89c969a7366bee541c0e985af3 (patch)
treed6113d20bf5094b5f794f91023bf9ba84c1c0c4a /org.eclipse.jgit.pgm
parent95ceb24866c02a49ee9e0dcf5d2617879e98527f (diff)
parent01ee87201f75cfd6de9e3f755c44f076f09059e7 (diff)
downloadjgit-0a69f05647b05b89c969a7366bee541c0e985af3.tar.gz
jgit-0a69f05647b05b89c969a7366bee541c0e985af3.zip
Merge changes Ic0ee9c08,Ia3e82682,I8d8ab547,I8f2cd0a0,I45823b0c,Ie22ac47e
* changes: cleanup: Silence an unused-parameter warning cleanup: Get rid of some unused-warnings cleanup: Remove unused parameter in ConsoleCredentialsProvider cleanup: Drop unused parameter on DhtPackParser cleanup: Remove unneeded parameter to private method in RefUpdateTest cleanup: Remove unnecessary @SuppressWarnings
Diffstat (limited to 'org.eclipse.jgit.pgm')
-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;
}