Skip to content

Commit f392a0d

Browse files
committed
format
1 parent df2b901 commit f392a0d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

graphql-database-manager-test/src/main/java/com/phocassoftware/graphql/database/manager/test/DynamoDbInitializer.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ static void createTable(final DynamoDbClient client, final String name) throws E
3939
try {
4040
client.describeTable(builder -> builder.tableName(name));
4141
return;
42-
} catch (ResourceNotFoundException ignored) {
43-
}
44-
42+
} catch (ResourceNotFoundException ignored) {}
43+
4544
// looks like bug within local dynamodb client around creating multiple tables at the same time
4645
synchronized (DynamoDbInitializer.class) {
4746
client
@@ -98,8 +97,7 @@ static void createHistoryTable(final DynamoDbClient client, final String name) t
9897
try {
9998
client.describeTable(builder -> builder.tableName(name));
10099
return;
101-
} catch (ResourceNotFoundException ignored) {
102-
}
100+
} catch (ResourceNotFoundException ignored) {}
103101

104102
// looks like bug within local dynamodb client around creating multiple tables at the same time
105103
synchronized (DynamoDbInitializer.class) {

0 commit comments

Comments
 (0)