Skip to content

Commit

Permalink
Avoid compile warning using @SuppressWarnings(unused) on test case my…
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki43zoo committed Apr 24, 2018
1 parent e155f8e commit 162dbd3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ public String getPublicProperty() {
}
}

@SuppressWarnings("unused")
static class Bean {
private String privateField;
String packagePrivateField;
Expand All @@ -358,6 +359,7 @@ public void setPublicProperty(String value) {
}
}

@SuppressWarnings("unused")
static class Immutable {
private Map<String, String> properties = new HashMap<>();

Expand Down

0 comments on commit 162dbd3

Please sign in to comment.