Skip to content

Commit

Permalink
Merge pull request #1 from d-william/test
Browse files Browse the repository at this point in the history
 Add @SuppressWarnings in GsonTypesTest.java
  • Loading branch information
d-william authored Jan 29, 2024
2 parents 8aef788 + adcf98f commit 69ad04b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ public void testEqualsOnConstructorParameterTypeVariables() throws Exception {

private static final class TypeVariableTest {

@SuppressWarnings({"UnusedMethod", "UnusedVariable", "TypeParameterUnusedInFormals"})
public <T> TypeVariableTest(T parameter) {}

@SuppressWarnings({"UnusedMethod", "UnusedVariable", "TypeParameterUnusedInFormals"})
public <T> T method() {
return null;
}
Expand Down

0 comments on commit 69ad04b

Please sign in to comment.