Skip to content

Commit

Permalink
optimize: remove repetitive words (apache#6429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxunle authored Mar 25, 2024
1 parent 9e78cdd commit 33d688b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void testNotSupportDb() {
dataSource.setPassword("password");

Throwable throwable = Assertions.assertThrows(IllegalStateException.class, () -> new DataSourceProxy(dataSource));
assertThat(throwable).hasMessageContaining("AT mode don't support the the dbtype");
assertThat(throwable).hasMessageContaining("AT mode don't support the dbtype");
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private void checkUndoLogTableExist(Connection conn) {
try {
undoLogManager = UndoLogManagerFactory.getUndoLogManager(dbType);
} catch (EnhancedServiceNotFoundException e) {
String errMsg = String.format("AT mode don't support the the dbtype: %s", dbType);
String errMsg = String.format("AT mode don't support the dbtype: %s", dbType);
throw new IllegalStateException(errMsg, e);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void testNotSupportDb() {
dataSource.setPassword("password");

Throwable throwable = Assertions.assertThrows(IllegalStateException.class, () -> new DataSourceProxy(dataSource));
assertThat(throwable).hasMessageContaining("AT mode don't support the the dbtype");
assertThat(throwable).hasMessageContaining("AT mode don't support the dbtype");
}


Expand Down

0 comments on commit 33d688b

Please sign in to comment.