Apache log4j logo Apache logging services logo

PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/apache/logging/log4j/catalog/jpa/config/HibernateConfig.java

Violation Line
Avoid unused imports such as 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder' 23
Avoid unused imports such as 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType' 24
Avoid unused imports such as 'javax.sql.DataSource' 33

org/apache/logging/log4j/catalog/jpa/converter/CategoryModelConverter.java

Violation Line
Avoid unused private fields such as 'eventService'. 33

org/apache/logging/log4j/catalog/jpa/converter/ProductModelConverter.java

Violation Line
Avoid unused private fields such as 'eventService'. 33

org/apache/logging/log4j/catalog/jpa/dao/PagingAndSortingRepository.java

Violation Line
Avoid unused imports such as 'org.apache.logging.log4j.catalog.jpa.model.EventModel' 22

org/apache/logging/log4j/catalog/jpa/model/CategoryModel.java

Violation Line
Avoid unused imports such as 'javax.persistence.CascadeType' 19

org/apache/logging/log4j/catalog/jpa/model/ProductModel.java

Violation Line
Avoid unused imports such as 'javax.persistence.CascadeType' 19
Avoid unused imports such as 'org.apache.logging.log4j.catalog.api.Product' 34

org/apache/logging/log4j/catalog/jpa/service/AttributeServiceImpl.java

Violation Line
Avoid unused private fields such as 'LOGGER'. 37

org/apache/logging/log4j/catalog/jpa/service/CatalogServiceImpl.java

Violation Line
Avoid unused imports such as 'java.time.LocalDateTime' 19
Avoid unused private fields such as 'constraintPlugins'. 54
Unnecessary use of fully qualified name 'org.apache.logging.log4j.catalog.api.Attribute' due to existing import 'org.apache.logging.log4j.catalog.api.Attribute' 80
Unnecessary use of fully qualified name 'org.apache.logging.log4j.catalog.api.Event' due to existing import 'org.apache.logging.log4j.catalog.api.Event' 88
Unnecessary use of fully qualified name 'org.apache.logging.log4j.catalog.api.Category' due to existing import 'org.apache.logging.log4j.catalog.api.Category' 96

org/apache/logging/log4j/catalog/jpa/service/CategoryServiceImpl.java

Violation Line
Avoid unused private fields such as 'LOGGER'. 37

org/apache/logging/log4j/catalog/jpa/service/ConstraintServiceImpl.java

Violation Line
Avoid unused private fields such as 'LOGGER'. 37

org/apache/logging/log4j/catalog/jpa/service/EventServiceImpl.java

Violation Line
Avoid unused private fields such as 'LOGGER'. 39

org/apache/logging/log4j/catalog/jpa/service/ProductServiceImpl.java

Violation Line
Avoid unused private fields such as 'LOGGER'. 37