checkstyle/docs/checks_misc.html

33 lines
1.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Misc Checks</title>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<h1>Misc Checks</h1>
<h2>To-do comments</h2>
<p>The property <span class="code">checkstyle.pattern.todo</span> specifies
the pattern to match for to-do comments. The property type is regular
expression and defaults to <span class="default">&quot;TODO:&quot;</span>.</p>
<h2>Integer Literals</h2>
<p>The property <span class="code">checkstyle.ignore.longell</span> specifies
whether Checkstyle verifies that long integer literals use an uppercase <span
class="code">L</span>. For example <span class="code">40L</span> instead of
<span class="code">40l</span>. This is in accordance to the Java Language
Specification, <a
href="http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#48282">Section
3.10.1</a>. The property type is boolean and defaults to <span
class="default">false</span>.</p>
<li>checkstyle.illegal.instantiations"</li>
</body>
</html>