You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2023/05/13 03:27:17 UTC

[shardingsphere] branch master updated: Revise javadoc for PostgreSQLCommand (#25635)

This is an automated email from the ASF dual-hosted git repository.

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new c074b84055b Revise javadoc for PostgreSQLCommand (#25635)
c074b84055b is described below

commit c074b84055bdf3ded37202b50eac8336a4bd1a29
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat May 13 11:27:09 2023 +0800

    Revise javadoc for PostgreSQLCommand (#25635)
---
 .../proxy/frontend/postgresql/command/query/PostgreSQLCommand.java   | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/proxy/frontend/type/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/PostgreSQLCommand.java b/proxy/frontend/type/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/PostgreSQLCommand.java
index be250965941..ab7a5cedaa4 100644
--- a/proxy/frontend/type/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/PostgreSQLCommand.java
+++ b/proxy/frontend/type/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/PostgreSQLCommand.java
@@ -153,11 +153,8 @@ public enum PostgreSQLCommand {
         return getPostgreSQLCommand(sqlStatementClass);
     }
     
-    /**
+    /*
      * Refer to <a href="https://bugs.openjdk.java.net/browse/JDK-8161372">JDK-8161372</a>. 
-     *
-     * @param sqlStatementClass SQL statement class
-     * @return optional PostgreSQLCommand
      */
     @SuppressWarnings("OptionalAssignedToNull")
     private static Optional<PostgreSQLCommand> getPostgreSQLCommand(final Class<? extends SQLStatement> sqlStatementClass) {