FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
12 4 0 0

org.springframework.osgi.mock.ArrayEnumerator

Bug Category Details Line Priority
new org.springframework.osgi.mock.ArrayEnumerator(Object[]) may expose internal representation by storing an externally mutable object into ArrayEnumerator.source MALICIOUS_CODE EI_EXPOSE_REP2 34 Medium

org.springframework.osgi.mock.MockServiceReference

Bug Category Details Line Priority
Method org.springframework.osgi.mock.MockServiceReference.addMandatoryProperties(Dictionary) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 149 Medium
Method org.springframework.osgi.mock.MockServiceReference.addMandatoryProperties(Dictionary) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 142 Medium
new org.springframework.osgi.mock.MockServiceReference(Bundle, Dictionary, ServiceRegistration, String[]) may expose internal representation by storing an externally mutable object into MockServiceReference.objectClass MALICIOUS_CODE EI_EXPOSE_REP2 134 Medium