Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 5.3.5.

Fichiers

fr/paris/lutece/plugins/document/modules/export/dto/exportdocument/ExportUserDocumentDTO.java

Violation Ligne
Overridable method 'setDateValidityBegin' called during object construction 69
Overridable method 'setDateValidityEnd' called during object construction 70
Overridable method 'setDateCreation' called during object construction 71
Overridable method 'setDateModification' called during object construction 72
When instantiating a SimpleDateFormat object, specify a Locale 164
When instantiating a SimpleDateFormat object, specify a Locale 201
When instantiating a SimpleDateFormat object, specify a Locale 238
When instantiating a SimpleDateFormat object, specify a Locale 275

fr/paris/lutece/plugins/document/modules/export/service/DocumentExportPostStartupService.java

Violation Ligne
Avoid variables with short names like rt 64
Avoid variables with short names like p 66

fr/paris/lutece/plugins/document/modules/export/service/DocumentExportService.java

Violation Ligne
Prefer StringBuffer over += for concatenating strings 96

fr/paris/lutece/plugins/document/modules/export/web/DocumentExportJspBean.java

Violation Ligne
Private field '_documentExportService' could be made final; it is only initialized in the declaration or constructor. 83
Avoid variables with short names like os 127
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 139