SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
3 4 0 0

Files

Class Bugs
org.apache.shardingsphere.broadcast.distsql.statement.CreateBroadcastTableRuleStatement 2
org.apache.shardingsphere.broadcast.distsql.statement.DropBroadcastTableRuleStatement 2

org.apache.shardingsphere.broadcast.distsql.statement.CreateBroadcastTableRuleStatement

Bug Category Details Line Priority
org.apache.shardingsphere.broadcast.distsql.statement.CreateBroadcastTableRuleStatement.getTables() may expose internal representation by returning CreateBroadcastTableRuleStatement.tables MALICIOUS_CODE EI_EXPOSE_REP 31 Medium
new org.apache.shardingsphere.broadcast.distsql.statement.CreateBroadcastTableRuleStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into CreateBroadcastTableRuleStatement.tables MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium

org.apache.shardingsphere.broadcast.distsql.statement.DropBroadcastTableRuleStatement

Bug Category Details Line Priority
org.apache.shardingsphere.broadcast.distsql.statement.DropBroadcastTableRuleStatement.getTables() may expose internal representation by returning DropBroadcastTableRuleStatement.tables MALICIOUS_CODE EI_EXPOSE_REP 31 Medium
new org.apache.shardingsphere.broadcast.distsql.statement.DropBroadcastTableRuleStatement(boolean, Collection) may expose internal representation by storing an externally mutable object into DropBroadcastTableRuleStatement.tables MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium