diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2017-12-18 05:48:09 -0500 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2017-12-18 05:48:09 -0500 |
commit | 6f730d0bb65deac09f54148294beeaffe6cd5600 (patch) | |
tree | 512e87535a8fc26ee3d76c39f980a4d61db74622 | |
parent | 12532ef3ae60b07ea300104fe921201801736e6a (diff) | |
parent | e895d21a52c6d54da2151b72a56ed193ade5be7e (diff) | |
download | jgit-6f730d0bb65deac09f54148294beeaffe6cd5600.tar.gz jgit-6f730d0bb65deac09f54148294beeaffe6cd5600.zip |
Merge "Remove redundant @SuppressWarnings("unused")"
-rw-r--r-- | org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java | 12 | ||||
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java | 2 |
2 files changed, 5 insertions, 9 deletions
diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java index 33b5fc056a..fed063a8fa 100644 --- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java +++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java @@ -163,9 +163,7 @@ public class RecordingLogger implements Logger { * @param arg0 * @param arg1 */ - public void debug(@SuppressWarnings("unused") String msg, - @SuppressWarnings("unused") Object arg0, - @SuppressWarnings("unused") Object arg1) { + public void debug(String msg, Object arg0, Object arg1) { // Ignore (not relevant to test failures) } @@ -181,7 +179,7 @@ public class RecordingLogger implements Logger { * @param msg * debug message */ - public void debug(@SuppressWarnings("unused") String msg) { + public void debug(String msg) { // Ignore (not relevant to test failures) } @@ -192,9 +190,7 @@ public class RecordingLogger implements Logger { * @param arg0 * @param arg1 */ - public void info(@SuppressWarnings("unused") String msg, - @SuppressWarnings("unused") Object arg0, - @SuppressWarnings("unused") Object arg1) { + public void info(String msg, Object arg0, Object arg1) { // Ignore (not relevant to test failures) } @@ -203,7 +199,7 @@ public class RecordingLogger implements Logger { * * @param msg */ - public void info(@SuppressWarnings("unused") String msg) { + public void info(String msg) { // Ignore (not relevant to test failures) } diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java index 4238f207e0..fb2fd7e235 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java @@ -327,7 +327,7 @@ class Status extends TextBuiltin { protected int printList(String status1, String status2, String status3, Collection<String> list, Collection<String> set1, Collection<String> set2, - @SuppressWarnings("unused") Collection<String> set3) + Collection<String> set3) throws IOException { List<String> sortedList = new ArrayList<>(list); java.util.Collections.sort(sortedList); |