Skip to content

Commit

Permalink
[core] Remove useless exception message when commit conflicts (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi authored Feb 26, 2024
1 parent 98ce297 commit 6a2c24d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static void mergeEntries(
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;
Expand All @@ -181,7 +181,7 @@ public static void assertNoDelete(Collection<ManifestEntry> entries) {
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());
}
}
Expand Down

0 comments on commit 6a2c24d

Please sign in to comment.