Skip to content

Commit

Permalink
Move over from other PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Jan 3, 2025
1 parent 580ef40 commit 58dcc7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public final class ExplicitArgumentEnumeration extends BugChecker
.put(OBJECT_ENUMERABLE_ASSERT, "doesNotContainAnyElementsOf", "doesNotContain")
.put(OBJECT_ENUMERABLE_ASSERT, "hasSameElementsAs", "containsOnly")
.put(STEP_VERIFIER_STEP, "expectNextSequence", "expectNext")
.build();
.buildOrThrow();

/** Instantiates a new {@link ExplicitArgumentEnumeration} instance. */
public ExplicitArgumentEnumeration() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private static ImmutableTable<String, String, UndesiredStaticImport> getUndesire
}
}

return imports.build();
return imports.buildOrThrow();
}

private static boolean shouldNotBeStaticallyImported(String type, String member) {
Expand Down

0 comments on commit 58dcc7d

Please sign in to comment.