Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/maven/maven-de8d39c55a
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnmcmanus authored Aug 1, 2024
2 parents b3b9f70 + c4b6c81 commit 308a3cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gson/src/test/java/com/google/gson/reflect/TypeTokenTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ public void testParameterizedFactory_Invalid() {
+ GenericWithMultiBound.class);

class Outer {
@SuppressWarnings("ClassCanBeStatic")
class NonStaticInner<T> {}
}

Expand Down Expand Up @@ -344,6 +345,7 @@ private static <M> void createTypeTokenTypeVariable() {
public void testTypeTokenTypeVariable() throws Exception {
// Put the test code inside generic class to be able to access `T`
class Enclosing<T> {
@SuppressWarnings("ClassCanBeStatic")
class Inner {}

void test() {
Expand Down

0 comments on commit 308a3cb

Please sign in to comment.