Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.5.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
2 6 0 0

Files

Class Bugs
fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest 6

fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest

Bug Category Details Line Priority
Null pointer dereference of strSearchBeginningVal in fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest.getCityListByNameAndDateV1(String, Date) CORRECTNESS NP_ALWAYS_NULL 165 High
Load of known null value in fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest.getCityListByNameAndDateV1(String, Date) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 165 Medium
Call to method of static java.text.DateFormat in fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest.getCityByCodeAndDate(Integer, String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 211 Medium
Call to method of static java.text.DateFormat in fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest.getCityListByDate(Integer, String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 121 Medium
Call to method of static java.text.DateFormat in fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest.getCountiesListByNameAndDate(Integer, String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 339 Medium
Call to method of static java.text.DateFormat in fr.paris.lutece.plugins.geocodesclient.rs.GeocodesRest.getCountryByCodeAndDate(Integer, String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 275 Medium