PMD Results

The following document contains the results of PMD 4.2.2.

Files

org.openwms.client.rest.provider - org/openwms/client/application/WebApplicationContextConfiguration.java

Violation Line
Avoid unused private fields such as 'ctx'. 52

org.openwms.common.domain - org/openwms/common/domain/units/Piece.java

Violation Line
These nested if statements could be combined 221 - 223

org.openwms.common.domain - org/openwms/common/domain/units/PieceUnit.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 42

org.openwms.core.client.rest - org/openwms/core/rest/AbstractWebController.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/AbstractWebController.java: Encountered ">" at line 64, column 39. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/AbstractWebController.java: Encountered ">" at line 64, column 39. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/AbstractWebController.java: Encountered ">" at line 64, column 39. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

org.openwms.core.client.rest - org/openwms/core/rest/BeanMapper.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/BeanMapper.java: Encountered ">" at line 72, column 40. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/BeanMapper.java: Encountered ">" at line 72, column 40. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/BeanMapper.java: Encountered ">" at line 72, column 40. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

org.openwms.core.client.rest - org/openwms/core/rest/ResponseVO.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/ResponseVO.java: Encountered ">" at line 45, column 53. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/ResponseVO.java: Encountered ">" at line 45, column 53. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/ResponseVO.java: Encountered ">" at line 45, column 53. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

org.openwms.core.client.rest - org/openwms/core/rest/roles/RoleVO.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/roles/RoleVO.java: Encountered ">" at line 181, column 49. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/roles/RoleVO.java: Encountered ">" at line 181, column 49. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.client.rest/src/main/java/org/openwms/core/rest/roles/RoleVO.java: Encountered ">" at line 181, column 49. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

org.openwms.core.infrastructure.configuration.provider - org/openwms/core/infrastructure/configuration/ConfigurationApplicationContextConfiguration.java

Violation Line
Avoid unused private fields such as 'ctx'. 52

org.openwms.core.service.api - org/openwms/core/service/GenericEntityService.java

Violation Line
Avoid unused imports such as 'org.openwms.core.service.exception.EntityAlreadyExistsException' 28

org.openwms.core.service.api - org/openwms/core/service/SecurityService.java

Violation Line
Avoid unused imports such as 'org.openwms.core.domain.system.usermanagement.Role' 27

org.openwms.core.service.spring - org/openwms/core/service/spring/AbstractGenericEntityService.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/AbstractGenericEntityService.java: Encountered "|" at line 226, column 43. Was expecting one of: <IDENTIFIER> ... "..." ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/AbstractGenericEntityService.java: Encountered "|" at line 226, column 43. Was expecting one of: <IDENTIFIER> ... "..." ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/AbstractGenericEntityService.java: Encountered "|" at line 226, column 43. Was expecting one of: <IDENTIFIER> ... "..." ... 0

org.openwms.core.service.spring - org/openwms/core/service/spring/I18nServiceImpl.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/I18nServiceImpl.java: Encountered ">" at line 63, column 49. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/I18nServiceImpl.java: Encountered ">" at line 63, column 49. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/I18nServiceImpl.java: Encountered ">" at line 63, column 49. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

org.openwms.core.service.spring - org/openwms/core/service/spring/ModuleServiceImpl.java

Violation Line
Avoid unused imports such as 'org.openwms.core.service.exception.ServiceRuntimeException' 33
An empty statement (semicolon) not part of a loop 74

org.openwms.core.service.spring - org/openwms/core/service/spring/RoleServiceImpl.java

Violation Line
Avoid unused imports such as 'org.openwms.core.service.exception.ServiceRuntimeException' 31
An empty statement (semicolon) not part of a loop 79

org.openwms.core.service.spring - org/openwms/core/service/spring/SecurityServiceImpl.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/SecurityServiceImpl.java: Encountered ">" at line 90, column 44. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/SecurityServiceImpl.java: Encountered ">" at line 90, column 44. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/SecurityServiceImpl.java: Encountered ">" at line 90, column 44. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

org.openwms.core.service.spring - org/openwms/core/service/spring/UserServiceImpl.java

Violation Line
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/UserServiceImpl.java: Encountered ">" at line 215, column 36. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/UserServiceImpl.java: Encountered ">" at line 215, column 36. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "?" ... 0
Error while parsing /home/tomcat/.jenkins/jobs/D.Manual.Reports/workspace/org.openwms.core/org.openwms.core.service.spring/src/main/java/org/openwms/core/service/spring/UserServiceImpl.java: Encountered ">" at line 215, column 36. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "?" ... 0

org.openwms.core.service.spring - org/openwms/core/service/spring/security/SecurityContextUserServiceImpl.java

Violation Line
Avoid unused imports such as 'org.openwms.core.integration.GenericDao' 28
Avoid unused imports such as 'org.openwms.core.service.exception.EntityNotFoundException' 30