Skip to content

Commit f77f1d0

Browse files
d-williamWilliam Degrange
authored andcommitted
Merge pull request #1 from d-william/test
Add @SuppressWarnings in GsonTypesTest.java
2 parents 8aef788 + adcf98f commit f77f1d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gson/src/test/java/com/google/gson/internal/GsonTypesTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ public void testEqualsOnConstructorParameterTypeVariables() throws Exception {
125125

126126
private static final class TypeVariableTest {
127127

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

131+
@SuppressWarnings({"UnusedMethod", "UnusedVariable", "TypeParameterUnusedInFormals"})
130132
public <T> T method() {
131133
return null;
132134
}
133-
134135
}
135-
136136
}

0 commit comments

Comments
 (0)