Skip to content

Commit 12e2a6c

Browse files
author
chengyitian
committed
AJ-850: modify check log info for ConnectConfig;
1 parent f503362 commit 12e2a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/xxdb/DBConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private void validateConfig() {
224224
throw new IllegalArgumentException("The param 'hostName' cannot be null or empty.");
225225

226226
if (config.port <= 0 || config.port > 65535)
227-
throw new IllegalArgumentException("The param 'port' cannot less than or equanl to 0, and also cannot rather than 65535.");
227+
throw new IllegalArgumentException("The param 'port' cannot less than or equal to 0, and also cannot greater than 65535.");
228228

229229
if (config.connectTimeout < 0 || config.readTimeout < 0)
230230
throw new IllegalArgumentException("The param connectTimeout or readTimeout cannot less than zero.");

0 commit comments

Comments
 (0)