The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
7 | 8 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of this$storageUnitName, which is known to be non-null in org.apache.shardingsphere.single.distsql.segment.SingleTableSegment.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29 | Medium |
Redundant nullcheck of this$tableName, which is known to be non-null in org.apache.shardingsphere.single.distsql.segment.SingleTableSegment.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29 | Medium |
Redundant nullcheck of $storageUnitName, which is known to be non-null in org.apache.shardingsphere.single.distsql.segment.SingleTableSegment.hashCode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29 | Medium |
Redundant nullcheck of $tableName, which is known to be non-null in org.apache.shardingsphere.single.distsql.segment.SingleTableSegment.hashCode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.single.distsql.statement.rdl.LoadSingleTableStatement.getTables() may expose internal representation by returning LoadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
new org.apache.shardingsphere.single.distsql.statement.rdl.LoadSingleTableStatement(Collection) may expose internal representation by storing an externally mutable object into LoadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.single.distsql.statement.rdl.UnloadSingleTableStatement.getTables() may expose internal representation by returning UnloadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
new org.apache.shardingsphere.single.distsql.statement.rdl.UnloadSingleTableStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into UnloadSingleTableStatement.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 29 | Medium |