Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 6.1.1 with config/sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
2 0 0 59

Rules

Category Rule Violations Severity
design DesignForExtension 24  Error
VisibilityModifier 1  Error
imports UnusedImports 1  Error
javadoc JavadocPackage
  • allowLegacy: "true"
1  Error
misc FinalParameters 25  Error
regexp RegexpSingleline
  • format: "\s+$"
  • message: "Line has trailing spaces."
4  Error
sizes LineLength 3  Error

Details

net/osgiliath/module/spring/data/jpa/DelegatingSimpleJpaRepository.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports UnusedImports Unused import - javax.annotation.PostConstruct. 5
 Error sizes LineLength Line is longer than 80 characters (found 85). 16
 Error sizes LineLength Line is longer than 80 characters (found 87). 17
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error design VisibilityModifier Variable 'delegate' must be private and have accessor methods. 37
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 39
 Error misc FinalParameters Parameter pageable should be final. 40
 Error design DesignForExtension Method 'save' is not designed for extension - needs to be abstract, final or empty. 45
 Error misc FinalParameters Parameter entity should be final. 46
 Error design DesignForExtension Method 'findOne' is not designed for extension - needs to be abstract, final or empty. 51
 Error misc FinalParameters Parameter id should be final. 52
 Error design DesignForExtension Method 'exists' is not designed for extension - needs to be abstract, final or empty. 57
 Error misc FinalParameters Parameter id should be final. 58
 Error design DesignForExtension Method 'count' is not designed for extension - needs to be abstract, final or empty. 63
 Error design DesignForExtension Method 'delete' is not designed for extension - needs to be abstract, final or empty. 69
 Error misc FinalParameters Parameter id should be final. 70
 Error design DesignForExtension Method 'delete' is not designed for extension - needs to be abstract, final or empty. 75
 Error misc FinalParameters Parameter entity should be final. 76
 Error design DesignForExtension Method 'delete' is not designed for extension - needs to be abstract, final or empty. 81
 Error misc FinalParameters Parameter entities should be final. 82
 Error design DesignForExtension Method 'deleteAll' is not designed for extension - needs to be abstract, final or empty. 87
 Error design DesignForExtension Method 'findOne' is not designed for extension - needs to be abstract, final or empty. 93
 Error misc FinalParameters Parameter spec should be final. 94
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 98
 Error misc FinalParameters Parameter spec should be final. 99
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 103
 Error misc FinalParameters Parameter spec should be final. 104
 Error misc FinalParameters Parameter pageable should be final. 104
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 109
 Error misc FinalParameters Parameter spec should be final. 110
 Error misc FinalParameters Parameter sort should be final. 110
 Error design DesignForExtension Method 'count' is not designed for extension - needs to be abstract, final or empty. 115
 Error misc FinalParameters Parameter spec should be final. 116
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 120
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 125
 Error misc FinalParameters Parameter sort should be final. 126
 Error design DesignForExtension Method 'findAll' is not designed for extension - needs to be abstract, final or empty. 131
 Error misc FinalParameters Parameter ids should be final. 132
 Error design DesignForExtension Method 'save' is not designed for extension - needs to be abstract, final or empty. 136
 Error misc FinalParameters Parameter entities should be final. 137
 Error design DesignForExtension Method 'flush' is not designed for extension - needs to be abstract, final or empty. 141
 Error design DesignForExtension Method 'saveAndFlush' is not designed for extension - needs to be abstract, final or empty. 147
 Error misc FinalParameters Parameter entity should be final. 148
 Error design DesignForExtension Method 'deleteInBatch' is not designed for extension - needs to be abstract, final or empty. 152
 Error misc FinalParameters Parameter entities should be final. 153
 Error design DesignForExtension Method 'deleteAllInBatch' is not designed for extension - needs to be abstract, final or empty. 157
 Error design DesignForExtension Method 'getOne' is not designed for extension - needs to be abstract, final or empty. 163
 Error misc FinalParameters Parameter id should be final. 164
 Error regexp RegexpSingleline Line has trailing spaces. 170
 Error design DesignForExtension Method 'instanciateDelegateRepository' is not designed for extension - needs to be abstract, final or empty. 178
 Error misc FinalParameters Parameter emf should be final. 178
 Error misc FinalParameters Parameter em should be final. 179
 Error misc FinalParameters Parameter domainClass should be final. 179

net/osgiliath/module/spring/data/jpa/TransactionalSimpleJpaRepository.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 83). 6
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error misc FinalParameters Parameter jpaPersistableEntityInformation should be final. 32
 Error misc FinalParameters Parameter em should be final. 33