SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.7.3
Threshold is medium
Effort is default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 2 | 3 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| org.apache.shardingsphere.single.config.SingleRuleConfiguration | 3 |
org.apache.shardingsphere.single.config.SingleRuleConfiguration
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.shardingsphere.single.config.SingleRuleConfiguration.getTables() may expose internal representation by returning SingleRuleConfiguration.tables | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
| new org.apache.shardingsphere.single.config.SingleRuleConfiguration(Collection, String) may expose internal representation by storing an externally mutable object into SingleRuleConfiguration.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
| org.apache.shardingsphere.single.config.SingleRuleConfiguration.setTables(Collection) may expose internal representation by storing an externally mutable object into SingleRuleConfiguration.tables | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
