Skip to content

Commit c007d2e

Browse files
committed
Spotless
1 parent 22e7102 commit c007d2e

File tree

1 file changed

+11
-7
lines changed
  • open-api/src/testFixtures/java/org/apache/iceberg/rest

1 file changed

+11
-7
lines changed

open-api/src/testFixtures/java/org/apache/iceberg/rest/RCKUtils.java

+11-7
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ static RESTCatalog initCatalogClient() {
8282
catalogProperties.putAll(Maps.fromProperties(System.getProperties()));
8383

8484
// Set defaults
85-
catalogProperties.putIfAbsent(CatalogProperties.URI, String.format("http://localhost:%s/", RESTCatalogServer.REST_PORT_DEFAULT));
85+
catalogProperties.putIfAbsent(
86+
CatalogProperties.URI,
87+
String.format("http://localhost:%s/", RESTCatalogServer.REST_PORT_DEFAULT));
8688
catalogProperties.putIfAbsent(CatalogProperties.WAREHOUSE_LOCATION, "rck_warehouse");
8789

8890
RESTCatalog catalog = new RESTCatalog();
@@ -96,11 +98,13 @@ static void purgeCatalogTestEntries(RESTCatalog catalog) {
9698
return;
9799
}
98100

99-
TEST_NAMESPACES.stream().filter(catalog::namespaceExists).forEach(
100-
namespace -> {
101-
catalog.listTables(namespace).forEach(catalog::dropTable);
102-
catalog.listViews(namespace).forEach(catalog::dropView);
103-
catalog.dropNamespace(namespace);
104-
});
101+
TEST_NAMESPACES.stream()
102+
.filter(catalog::namespaceExists)
103+
.forEach(
104+
namespace -> {
105+
catalog.listTables(namespace).forEach(catalog::dropTable);
106+
catalog.listViews(namespace).forEach(catalog::dropView);
107+
catalog.dropNamespace(namespace);
108+
});
105109
}
106110
}

0 commit comments

Comments
 (0)