Skip to content

Commit 7d127ac

Browse files
committed
Java:完善 APIJSONDemo-Presto 的注释
1 parent 3210f8c commit 7d127ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APIJSON-Java-Server/APIJSONDemo-Presto/src/main/java/apijson/demo/DemoSQLConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public String getDBVersion() {
5050
@JSONField(serialize = false) // 不在日志打印 账号/密码 等敏感信息
5151
@Override
5252
public String getDBUri() {
53-
if (isPresto()) { // Presto 配置文档 https://prestodb.io/docs/current/installation/jdbc.html
53+
if (isPresto()) { // Presto(PrestoDB) 配置文档 https://prestodb.io/docs/current/installation/jdbc.html#connecting
5454
return "jdbc:presto://localhost:8099/mysql?SSL=false";
5555
}
56-
if (isTrino()) {
56+
if (isTrino()) { // Trino(PrestoSQL) 配置文档 https://trino.io/docs/current/client/jdbc.html#connecting
5757
return "jdbc:trino://localhost:8099/mysql?SSL=false";
5858
}
5959

0 commit comments

Comments
 (0)