The following document contains the results of SpotBugs
SpotBugs Version is 4.8.5
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
23 | 4 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of directoryUrlEnumeration, which is known to be non-null in org.apache.shardingsphere.infra.util.directory.ClasspathResourceDirectoryReader.read(ClassLoader, String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 119 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.shardingsphere.infra.util.props.MultiSourceProperties doesn't override java.util.Properties.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public method org.apache.shardingsphere.infra.util.reflection.ReflectionUtils.getStaticFieldValue(Class, String) uses reflection to modify a field it gets in its parameter which could increase the accessibility of any class. | MALICIOUS_CODE | REFLF_REFLECTION_MAY_INCREASE_ACCESSIBILITY_OF_FIELD | 89 | Medium |
Public method org.apache.shardingsphere.infra.util.reflection.ReflectionUtils.setStaticFieldValue(Class, String, Object) uses reflection to modify a field it gets in its parameter which could increase the accessibility of any class. | MALICIOUS_CODE | REFLF_REFLECTION_MAY_INCREASE_ACCESSIBILITY_OF_FIELD | 110 | Medium |