This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 6a2c24df4 [core] Remove useless exception message when commit
conflicts (#2902)
6a2c24df4 is described below
commit 6a2c24df4a2354a73003713eb6b138762743e7cf
Author: Jingsong Lee <[email protected]>
AuthorDate: Mon Feb 26 15:57:21 2024 +0800
[core] Remove useless exception message when commit conflicts (#2902)
---
.../src/main/java/org/apache/paimon/manifest/ManifestEntry.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/paimon-core/src/main/java/org/apache/paimon/manifest/ManifestEntry.java
b/paimon-core/src/main/java/org/apache/paimon/manifest/ManifestEntry.java
index 4ca944ed8..25b6919f0 100644
--- a/paimon-core/src/main/java/org/apache/paimon/manifest/ManifestEntry.java
+++ b/paimon-core/src/main/java/org/apache/paimon/manifest/ManifestEntry.java
@@ -154,7 +154,7 @@ public class ManifestEntry {
case ADD:
Preconditions.checkState(
!map.containsKey(identifier),
- "Trying to add file %s which is already added.
Manifest might be corrupted.",
+ "Trying to add file %s which is already added.",
identifier);
map.put(identifier, entry);
break;
@@ -181,7 +181,7 @@ public class ManifestEntry {
for (ManifestEntry entry : entries) {
Preconditions.checkState(
entry.kind() != FileKind.DELETE,
- "Trying to delete file %s which is not previously added.
Manifest might be corrupted.",
+ "Trying to delete file %s which is not previously added.",
entry.file().fileName());
}
}