PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 2
shardingsphere-infra-spi - org/apache/shardingsphere/infra/spi/type/typed/TypedSPILoader.java
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/metadata/loader/PipelineTableMetaDataUtils.java
shardingsphere-cluster-mode-core - org/apache/shardingsphere/mode/manager/cluster/dispatch/listener/type/DatabaseMetaDataChangedListener.java
shardingsphere-parser-sql-statement-core - org/apache/shardingsphere/sql/parser/statement/core/util/MultiSQLSplitter.java
Priority 3
shardingsphere-agent-core - org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapper.java
| Rule |
Violation |
Line |
| UnusedPrivateMethod |
Avoid unused private methods such as 'swap(YamlPluginConfiguration)'. |
64 |
shardingsphere-database-connector-opengauss - org/apache/shardingsphere/database/connector/opengauss/checker/OpenGaussDatabasePrivilegeChecker.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
54 |
shardingsphere-database-connector-postgresql - org/apache/shardingsphere/database/connector/postgresql/checker/PostgreSQLDatabasePrivilegeChecker.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
54 |
shardingsphere-sharding-core - org/apache/shardingsphere/sharding/algorithm/sharding/classbased/ClassBasedShardingAlgorithmFactory.java
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/consistencycheck/table/calculator/CRC32TableInventoryCheckCalculator.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
61 |
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/preparer/inventory/calculator/InventoryRecordsCountCalculator.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
95 |
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/preparer/inventory/splitter/InventoryDumperContextSplitter.java
shardingsphere-data-pipeline-mysql - org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/binlog/position/MySQLIncrementalPositionManager.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
47 |
shardingsphere-data-pipeline-opengauss - org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumper.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
157 |
shardingsphere-data-pipeline-opengauss - org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/wal/position/OpenGaussIncrementalPositionManager.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
56 |
shardingsphere-data-pipeline-postgresql - org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/position/PostgreSQLIncrementalPositionManager.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
58 |
shardingsphere-data-pipeline-cdc-core - org/apache/shardingsphere/data/pipeline/cdc/api/CDCJobAPI.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
308 |
shardingsphere-global-clock-tso-provider-redis - org/apache/shardingsphere/globalclock/type/tso/provider/redis/RedisTSOPropertyKey.java
shardingsphere-database-time-service - org/apache/shardingsphere/timeservice/type/database/DatabaseTimestampService.java
| Rule |
Violation |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
69 |
shardingsphere-cluster-mode-core - org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/database/datasource/StorageNodeChangedHandler.java
shardingsphere-proxy-bootstrap - org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java
shardingsphere-test-infra-fixture-database - org/apache/shardingsphere/test/infra/fixture/jdbc/MockedDataSource.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/query/DistSQLDatabaseRuleQueryExecutorAssert.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/query/DistSQLDatabaseRuleQueryExecutorTest.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/query/DistSQLGlobalRuleQueryExecutorAssert.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/update/GlobalRuleDefinitionExecutorTest.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/distsql/rdl/EncryptRuleAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/distsql/rdl/MaskRuleAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/expression/ExpressionAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/projection/ProjectionAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/AlterTableStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/CreateIndexStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dml/standard/type/MergeStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dml/standard/type/UpdateStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/type/ShowStorageUnitsStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/type/ShowTablesStatementAssert.java
Priority 4
shardingsphere-database-connector-core - org/apache/shardingsphere/database/connector/core/metadata/database/enums/QuoteCharacter.java
shardingsphere-protocol-firebird - org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/util/FirebirdDateTimeUtils.java
shardingsphere-protocol-mysql - org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValue.java
shardingsphere-protocol-postgresql - org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLBinaryTimestampUtils.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `TimeZone.getDefault().getRawOffset()`. |
44 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptAssignmentParameterRewriter.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
61 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptInsertOnDuplicateKeyUpdateValueParameterRewriter.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
49 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptInsertValueParameterRewriter.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
53 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptInsertAssignmentTokenGenerator.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
47 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGenerator.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
69 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGenerator.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
70 |
shardingsphere-sharding-core - org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingInsertValuesTokenGenerator.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
51 |
shardingsphere-infra-executor - org/apache/shardingsphere/infra/executor/sql/process/ProcessRegistry.java
shardingsphere-infra-rewrite-core - org/apache/shardingsphere/infra/rewrite/engine/RouteSQLRewriteEngine.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `sqlRewriteContext.getSqlStatementContext()`. |
117 |
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/connection/CircuitBreakerConnection.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'Connection': 'TRANSACTION_NONE' is already in scope because it is inherited by an enclosing type |
70 |
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaData.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DatabaseMetaData': 'sqlStateSQL' is already in scope because it is inherited by an enclosing type |
848 |
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/resultset/CircuitBreakerResultSet.java
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/resultset/CircuitBreakerResultSetMetaData.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'ResultSetMetaData': 'columnNullable' is already in scope because it is inherited by an enclosing type |
54 |
shardingsphere-data-pipeline-cdc-core - org/apache/shardingsphere/data/pipeline/cdc/util/ColumnValueConvertUtils.java
shardingsphere-sql-federation-compiler - org/apache/shardingsphere/sqlfederation/compiler/sql/function/opengauss/impl/OpenGaussSystemFunction.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `"-" + ShardingSphereVersion.BUILD_COMMIT_ID_ABBREV`. |
41 |
shardingsphere-transaction-xa-narayana - org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelper.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'XAResource': 'TMENDRSCAN' is already in scope because it is inherited by an enclosing type |
106 |
shardingsphere-parser-distsql-engine - org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementParserEngine.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `new KernelDistSQLStatementVisitor()`. |
47 |
shardingsphere-parser-distsql-engine - org/apache/shardingsphere/distsql/parser/core/utility/UtilityDistSQLStatementParserEngine.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `new UtilityDistSQLStatementVisitor()`. |
56 |
shardingsphere-proxy-backend-opengauss - org/apache/shardingsphere/proxy/backend/opengauss/handler/admin/executor/OpenGaussSelectVersionExecutor.java
| Rule |
Violation |
Line |
| UselessParentheses |
Useless parentheses around `"-" + ShardingSphereVersion.BUILD_COMMIT_ID_ABBREV`. |
48 |
Files
shardingsphere-agent-core - org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapper.java
| Rule |
Violation |
Priority |
Line |
| UnusedPrivateMethod |
Avoid unused private methods such as 'swap(YamlPluginConfiguration)'. |
3 |
64 |
shardingsphere-database-connector-core - org/apache/shardingsphere/database/connector/core/metadata/database/enums/QuoteCharacter.java
shardingsphere-database-connector-opengauss - org/apache/shardingsphere/database/connector/opengauss/checker/OpenGaussDatabasePrivilegeChecker.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
54 |
shardingsphere-database-connector-postgresql - org/apache/shardingsphere/database/connector/postgresql/checker/PostgreSQLDatabasePrivilegeChecker.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
54 |
shardingsphere-protocol-firebird - org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/util/FirebirdDateTimeUtils.java
shardingsphere-protocol-mysql - org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValue.java
shardingsphere-protocol-postgresql - org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLBinaryTimestampUtils.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `TimeZone.getDefault().getRawOffset()`. |
4 |
44 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptAssignmentParameterRewriter.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
61 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptInsertOnDuplicateKeyUpdateValueParameterRewriter.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
49 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptInsertValueParameterRewriter.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
53 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptInsertAssignmentTokenGenerator.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
47 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGenerator.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
69 |
shardingsphere-encrypt-core - org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGenerator.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
70 |
shardingsphere-sharding-core - org/apache/shardingsphere/sharding/algorithm/sharding/classbased/ClassBasedShardingAlgorithmFactory.java
shardingsphere-sharding-core - org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingInsertValuesTokenGenerator.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `((InsertStatementContext) sqlStatementContext)....`. |
4 |
51 |
shardingsphere-infra-executor - org/apache/shardingsphere/infra/executor/sql/process/ProcessRegistry.java
shardingsphere-infra-rewrite-core - org/apache/shardingsphere/infra/rewrite/engine/RouteSQLRewriteEngine.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `sqlRewriteContext.getSqlStatementContext()`. |
4 |
117 |
shardingsphere-infra-spi - org/apache/shardingsphere/infra/spi/type/typed/TypedSPILoader.java
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/connection/CircuitBreakerConnection.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'Connection': 'TRANSACTION_NONE' is already in scope because it is inherited by an enclosing type |
4 |
70 |
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaData.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DatabaseMetaData': 'sqlStateSQL' is already in scope because it is inherited by an enclosing type |
4 |
848 |
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/resultset/CircuitBreakerResultSet.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'ResultSet': 'FETCH_FORWARD' is already in scope because it is inherited by an enclosing type |
4 |
314 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'ResultSet': 'TYPE_FORWARD_ONLY' is already in scope because it is inherited by an enclosing type |
4 |
328 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'ResultSet': 'CONCUR_READ_ONLY' is already in scope because it is inherited by an enclosing type |
4 |
333 |
shardingsphere-jdbc - org/apache/shardingsphere/driver/state/circuit/resultset/CircuitBreakerResultSetMetaData.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'ResultSetMetaData': 'columnNullable' is already in scope because it is inherited by an enclosing type |
4 |
54 |
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/consistencycheck/table/calculator/CRC32TableInventoryCheckCalculator.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
61 |
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/metadata/loader/PipelineTableMetaDataUtils.java
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/preparer/inventory/calculator/InventoryRecordsCountCalculator.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
95 |
shardingsphere-data-pipeline-core - org/apache/shardingsphere/data/pipeline/core/preparer/inventory/splitter/InventoryDumperContextSplitter.java
| Rule |
Violation |
Priority |
Line |
| CollapsibleIfStatements |
This if statement could be combined with its parent |
3 |
130–132 |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
146 |
shardingsphere-data-pipeline-mysql - org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/binlog/position/MySQLIncrementalPositionManager.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
47 |
shardingsphere-data-pipeline-opengauss - org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumper.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
157 |
shardingsphere-data-pipeline-opengauss - org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/wal/position/OpenGaussIncrementalPositionManager.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
56 |
shardingsphere-data-pipeline-postgresql - org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/position/PostgreSQLIncrementalPositionManager.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
58 |
shardingsphere-data-pipeline-cdc-core - org/apache/shardingsphere/data/pipeline/cdc/api/CDCJobAPI.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
308 |
shardingsphere-data-pipeline-cdc-core - org/apache/shardingsphere/data/pipeline/cdc/util/ColumnValueConvertUtils.java
shardingsphere-global-clock-tso-provider-redis - org/apache/shardingsphere/globalclock/type/tso/provider/redis/RedisTSOPropertyKey.java
shardingsphere-sql-federation-compiler - org/apache/shardingsphere/sqlfederation/compiler/sql/function/opengauss/impl/OpenGaussSystemFunction.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `"-" + ShardingSphereVersion.BUILD_COMMIT_ID_ABBREV`. |
4 |
41 |
shardingsphere-database-time-service - org/apache/shardingsphere/timeservice/type/database/DatabaseTimestampService.java
| Rule |
Violation |
Priority |
Line |
| CheckResultSet |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
3 |
69 |
shardingsphere-transaction-xa-narayana - org/apache/shardingsphere/transaction/xa/narayana/manager/DataSourceXAResourceRecoveryHelper.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'XAResource': 'TMENDRSCAN' is already in scope because it is inherited by an enclosing type |
4 |
106 |
shardingsphere-cluster-mode-core - org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/database/datasource/StorageNodeChangedHandler.java
shardingsphere-cluster-mode-core - org/apache/shardingsphere/mode/manager/cluster/dispatch/listener/type/DatabaseMetaDataChangedListener.java
shardingsphere-parser-distsql-engine - org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementParserEngine.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `new KernelDistSQLStatementVisitor()`. |
4 |
47 |
shardingsphere-parser-distsql-engine - org/apache/shardingsphere/distsql/parser/core/utility/UtilityDistSQLStatementParserEngine.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `new UtilityDistSQLStatementVisitor()`. |
4 |
56 |
shardingsphere-parser-sql-statement-core - org/apache/shardingsphere/sql/parser/statement/core/util/MultiSQLSplitter.java
shardingsphere-proxy-backend-opengauss - org/apache/shardingsphere/proxy/backend/opengauss/handler/admin/executor/OpenGaussSelectVersionExecutor.java
| Rule |
Violation |
Priority |
Line |
| UselessParentheses |
Useless parentheses around `"-" + ShardingSphereVersion.BUILD_COMMIT_ID_ABBREV`. |
4 |
48 |
shardingsphere-proxy-bootstrap - org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java
shardingsphere-test-infra-fixture-database - org/apache/shardingsphere/test/infra/fixture/jdbc/MockedDataSource.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/query/DistSQLDatabaseRuleQueryExecutorAssert.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/query/DistSQLDatabaseRuleQueryExecutorTest.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/query/DistSQLGlobalRuleQueryExecutorAssert.java
shardingsphere-test-it-distsql - org/apache/shardingsphere/test/it/distsql/handler/engine/update/GlobalRuleDefinitionExecutorTest.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/distsql/rdl/EncryptRuleAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/distsql/rdl/MaskRuleAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/expression/ExpressionAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/projection/ProjectionAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/AlterTableStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/CreateIndexStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dml/standard/type/MergeStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dml/standard/type/UpdateStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/type/ShowStorageUnitsStatementAssert.java
shardingsphere-test-it-parser - org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/type/ShowTablesStatementAssert.java