mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
23 lines
673 B
HTML
23 lines
673 B
HTML
<html>
|
|
<body>
|
|
Reports any public methods that do not contain a logging statement. This inspection does not report
|
|
simple getters and setters.
|
|
<p>For example:</p>
|
|
<pre><code>
|
|
<b>public class</b> Crucial {
|
|
<b>private static final </b>Logger LOG = LoggerFactory.getLogger(Crucial.class);
|
|
<b>public void</b> doImportantStuff() {
|
|
// warning on this method
|
|
}
|
|
|
|
<b>public void</b> doOtherStuff() {
|
|
LOG.info("do other stuff");
|
|
}
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
Use the table below to specify Logger class names.
|
|
Public methods that do not use instance methods of the specified classes will be reported by this inspection.
|
|
</body>
|
|
</html> |