Skip to content

Commit

Permalink
[MINOR] Remove unused throw exception in SecureHadoopCatalogOperation…
Browse files Browse the repository at this point in the history
…s#testConnection (apache#5607)

### What changes were proposed in this pull request?

the `testConnection` throw Exception is redundant in this method, so we
should remove it.

### Why are the changes needed?
update the code quality

### Does this PR introduce _any_ user-facing change?
n/a

### How was this patch tested?
n/a
  • Loading branch information
m1a2st authored Nov 19, 2024
1 parent bcc4c42 commit fabed9c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ public void testConnection(
Catalog.Type type,
String provider,
String comment,
Map<String, String> properties)
throws Exception {
Map<String, String> properties) {
hadoopCatalogOperations.testConnection(catalogIdent, type, provider, comment, properties);
}

Expand Down

0 comments on commit fabed9c

Please sign in to comment.