fix some typos

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2022-11-09 11:05:19 +08:00
parent 1e0e3ca1b7
commit 5d5de7b2a1
4 changed files with 5 additions and 5 deletions
@@ -456,7 +456,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM
super.connection_commit(chain, connection);
if (connectionCommitAfterLogEnable && isConnectionLogEnabled()) {
connectionLog("{conn-" + connection.getId() + "} commited");
connectionLog("{conn-" + connection.getId() + "} committed");
}
}
@@ -294,7 +294,7 @@ public class HighAvailableDataSource extends WrapperAdapter implements DataSourc
private void createNodeMap() {
if (nodeListener == null) {
// Compatiable with the old version.
// Compatible with the old version.
// Create a FileNodeListener to watch the dataSourceFile.
FileNodeListener listener = new FileNodeListener();
listener.setFile(dataSourceFile);
@@ -26,7 +26,7 @@ public class MySqlExceptionSorterTest_1 extends PoolTestCase {
}
SQLException rootException = new SQLException(
new SQLException("Could not retrieve transation read-only status server",
new SQLException("Could not retrieve transition read-only status server",
(Exception) constructor.newInstance(null, 0, 0, null)
)
);
@@ -42,7 +42,7 @@ public class MySqlExceptionSorterTest_1 extends PoolTestCase {
}
SQLException rootException = new SQLException(
new SQLException("Could not retrieve transation read-only status server",
new SQLException("Could not retrieve transition read-only status server",
(Exception) constructor.newInstance(null, null)
)
);
@@ -17,7 +17,7 @@ public class MySqlExceptionSorterTest_2 extends PoolTestCase {
MySqlExceptionSorter sorter = new MySqlExceptionSorter();
SQLException rootException = new SQLException(
new SQLException("Could not retrieve transation read-only status server",
new SQLException("Could not retrieve transition read-only status server",
new SocketTimeoutException()
)
);