Browse Source

cleanup: Get rid of some unused-warnings

Change-Id: Ia3e82682781c6b5bc3141b3e27db67b93c3162cd
tags/v2.0.0.201206130900-r
Robin Rosenberg 12 years ago
parent
commit
66e8cd4eec

+ 2
- 2
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Fetch.java View File

private Boolean fsck; private Boolean fsck;


@Option(name = "--no-fsck") @Option(name = "--no-fsck")
void nofsck(final boolean ignored) {
void nofsck(@SuppressWarnings("unused") final boolean ignored) {
fsck = Boolean.FALSE; fsck = Boolean.FALSE;
} }


private Boolean thin; private Boolean thin;


@Option(name = "--no-thin") @Option(name = "--no-thin")
void nothin(final boolean ignored) {
void nothin(@SuppressWarnings("unused") final boolean ignored) {
thin = Boolean.FALSE; thin = Boolean.FALSE;
} }



+ 1
- 1
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java View File

private boolean thin = Transport.DEFAULT_PUSH_THIN; private boolean thin = Transport.DEFAULT_PUSH_THIN;


@Option(name = "--no-thin") @Option(name = "--no-thin")
void nothin(final boolean ignored) {
void nothin(@SuppressWarnings("unused") final boolean ignored) {
thin = false; thin = false;
} }



Loading…
Cancel
Save