Skip to content

Commit d7c28e0

Browse files
committed
Format
1 parent f77a510 commit d7c28e0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

ice/src/main/java/com/altinity/ice/cli/internal/cmd/CreateTable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,9 @@ public static void run(
101101

102102
tx.commitTransaction();
103103
} catch (AlreadyExistsException e) {
104-
if (ignoreAlreadyExists) {
105-
return;
104+
if (!ignoreAlreadyExists) {
105+
throw e;
106106
}
107-
throw e;
108107
}
109108
}
110109
}

ice/src/main/java/com/altinity/ice/cli/internal/cmd/DeleteNamespace.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
package com.altinity.ice.cli.internal.cmd;
1111

1212
import java.io.IOException;
13-
1413
import org.apache.iceberg.catalog.Namespace;
15-
import org.apache.iceberg.catalog.TableIdentifier;
1614
import org.apache.iceberg.exceptions.NotFoundException;
1715
import org.apache.iceberg.rest.RESTCatalog;
1816
import org.slf4j.Logger;

0 commit comments

Comments
 (0)