SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.5

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
8 7 0 0

Files

Class Bugs
org.oxerr.vividseats.client.rescu.resource.ListingResponse 2
org.oxerr.vividseats.client.rescu.resource.ListingsResponse 2
org.oxerr.vividseats.client.rescu.resource.Response 1
org.oxerr.vividseats.client.rescu.resource.VividSeatsException 2

org.oxerr.vividseats.client.rescu.resource.ListingResponse

Bug Category Details Line Priority
org.oxerr.vividseats.client.rescu.resource.ListingResponse.getListing() may expose internal representation by returning ListingResponse.listing MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
org.oxerr.vividseats.client.rescu.resource.ListingResponse.setListing(BrokerListing) may expose internal representation by storing an externally mutable object into ListingResponse.listing MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

org.oxerr.vividseats.client.rescu.resource.ListingsResponse

Bug Category Details Line Priority
org.oxerr.vividseats.client.rescu.resource.ListingsResponse.getListings() may expose internal representation by returning ListingsResponse.listings MALICIOUS_CODE EI_EXPOSE_REP 25 Medium
org.oxerr.vividseats.client.rescu.resource.ListingsResponse.setListings(List) may expose internal representation by storing an externally mutable object into ListingsResponse.listings MALICIOUS_CODE EI_EXPOSE_REP2 29 Medium

org.oxerr.vividseats.client.rescu.resource.Response

Bug Category Details Line Priority
Exception thrown in class org.oxerr.vividseats.client.rescu.resource.Response at new org.oxerr.vividseats.client.rescu.resource.Response(Boolean, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 25 Medium

org.oxerr.vividseats.client.rescu.resource.VividSeatsException

Bug Category Details Line Priority
org.oxerr.vividseats.client.rescu.resource.VividSeatsException.getErrors() may expose internal representation by returning VividSeatsException.errors MALICIOUS_CODE EI_EXPOSE_REP 25 Medium
new org.oxerr.vividseats.client.rescu.resource.VividSeatsException(Boolean, String, List) may expose internal representation by storing an externally mutable object into VividSeatsException.errors MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium