PMD Results

The following document contains the results of PMD 4.2.2.

Files

com/gisgraphy/domain/geoloc/entity/Adm.java

Violation Line
An empty statement (semicolon) not part of a loop 202
Avoid empty catch blocks 335 - 336

com/gisgraphy/domain/geoloc/importer/AbstractImporterProcessor.java

Violation Line
Avoid empty catch blocks 405 - 407
Avoid empty catch blocks 568 - 570
Avoid empty catch blocks 575 - 577

com/gisgraphy/domain/geoloc/importer/AdmExtracter.java

Violation Line
Avoid unnecessary return statements 464

com/gisgraphy/domain/geoloc/importer/GeonamesAlternateNamesExtracter.java

Violation Line
Avoid unnecessary return statements 325

com/gisgraphy/domain/geoloc/importer/GeonamesFeatureImporter.java

Violation Line
Avoid empty catch blocks 251 - 252
These nested if statements could be combined 254 - 261
Avoid empty catch blocks 546 - 547

com/gisgraphy/domain/geoloc/importer/ImporterConfig.java

Violation Line
These nested if statements could be combined 887 - 889
These nested if statements could be combined 894 - 896

com/gisgraphy/domain/geoloc/importer/ImporterManager.java

Violation Line
Avoid unused private methods such as 'rollbackInTransaction(List,IImporterProcessor)'. 269 - 271
Avoid unused private methods such as 'setCommitFlushModeForAllDaos()'. 275

com/gisgraphy/domain/geoloc/service/fulltextsearch/OutputstreamResponseWrapper.java

Violation Line
Avoid empty catch blocks 100 - 102
Avoid empty catch blocks 119 - 120
Avoid empty catch blocks 125 - 127

com/gisgraphy/domain/geoloc/service/geoloc/GeolocResultsDtoSerializer.java

Violation Line
Avoid unnecessary return statements 140
Avoid unused method parameters such as 'indent'. 154 - 180

com/gisgraphy/domain/geoloc/service/geoloc/StreetSearchResultsDtoSerializer.java

Violation Line
Avoid unnecessary return statements 134
Avoid unused method parameters such as 'indent'. 148 - 174

com/gisgraphy/domain/geoloc/service/geoloc/street/PostalAddressFormat.java

Violation Line
Avoid unused private fields such as 'patterns'. 34

com/gisgraphy/domain/geoloc/service/geoloc/street/StreetType.java

Violation Line
Avoid empty catch blocks 46 - 47

com/gisgraphy/domain/repository/IDao.java

Violation Line
Avoid unused imports such as 'java.sql.SQLException' 29
Avoid unused imports such as 'org.hibernate.HibernateException' 36
Avoid unused imports such as 'org.springframework.dao.DataAccessException' 38

com/gisgraphy/domain/valueobject/GisFeatureDistance.java

Violation Line
Avoid empty catch blocks 492 - 493

com/gisgraphy/domain/valueobject/Output.java

Violation Line
Avoid empty catch blocks 356 - 357
Avoid empty catch blocks 619 - 620

com/gisgraphy/domain/valueobject/Pagination.java

Violation Line
Avoid unused private methods such as 'from(int)'. 179
Avoid unused private methods such as 'to(int)'. 193

com/gisgraphy/helper/FileLineFilter.java

Violation Line
Avoid empty catch blocks 122 - 123
Avoid empty catch blocks 128 - 129
Avoid empty catch blocks 135 - 136

com/gisgraphy/hibernate/projection/SpatialProjection.java

Violation Line
Avoid unused private fields such as 'LINEMERGE_FUNCTION'. 58

com/gisgraphy/util/CurrencyConverter.java

Violation Line
Avoid empty catch blocks 82 - 83

com/gisgraphy/webapp/action/ReverseGeocodingAction.java

Violation Line
Avoid unused private fields such as 'logger'. 43

com/gisgraphy/webapp/action/UserAction.java

Violation Line
These nested if statements could be combined 67 - 70
These nested if statements could be combined 126 - 135

com/gisgraphy/webapp/listener/UserCounterListener.java

Violation Line
These nested if statements could be combined 215 - 219

com/gisgraphy/webapp/taglib/CountryTag.java

Violation Line
Overriding method merely calls super 151 - 153

com/gisgraphy/webapp/util/RequestUtil.java

Violation Line
These nested if statements could be combined 90 - 94

com/opensymphony/module/sitemesh/filter/PageFilterWithoutSession.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 180 - 181
These nested if statements could be combined 209 - 211