All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.report.rules.pmd.Java_Logging_Rules.html Maven / Gradle / Ivy



Java_Logging_Rules


Java_Logging_Rules

a_Logging_Rules">

Java Logging Rules

  • MoreThanOneLogger: Normally only one logger is used in each class.
  • LoggerIsNotStaticFinal: In most cases, the Logger can be declared static and final.
  • SystemPrintln: System.(out|err).print is used, consider using a logger.
  • AvoidPrintStackTrace: Avoid printStackTrace(); use a logger call instead.




  • © 2015 - 2024 Weber Informatics LLC | Privacy Policy