Merge "Remove redundant @SuppressWarnings("unused")"

This commit is contained in:
Christian Halstrick 2017-12-18 05:48:09 -05:00 committed by Gerrit Code Review @ Eclipse.org
commit 6f730d0bb6
2 changed files with 5 additions and 9 deletions

View File

@ -163,9 +163,7 @@ public void warn(String msg) {
* @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 void debug(String msg, Throwable th) {
* @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 void debug(@SuppressWarnings("unused") String msg) {
* @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 void info(@SuppressWarnings("unused") String msg,
*
* @param msg
*/
public void info(@SuppressWarnings("unused") String msg) {
public void info(String msg) {
// Ignore (not relevant to test failures)
}

View File

@ -327,7 +327,7 @@ protected int printList(Collection<String> list) throws IOException {
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);