Skip to content

Commit

Permalink
chore: remove declaration of exceptions that are never thrown (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrehu authored Oct 16, 2024
1 parent 9ccf3aa commit f182cd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public InternalTopic(Set<String> allNames) {
}

@Override
public Set<String> getNames(AdminClient client) throws ExecutionException, InterruptedException {
public Set<String> getNames(AdminClient client) {
return allNames.stream()
.filter(this::isInternal)
.collect(Collectors.toSet());
Expand Down

0 comments on commit f182cd1

Please sign in to comment.