applied patches by Peter Dobratz to make lintlink happy
This commit is contained in:
parent
7e610c264c
commit
b99f72832a
|
|
@ -101,8 +101,8 @@ This task is included in the checkstyle distribution.</p>
|
|||
<h3>Nested Elements</h3>
|
||||
|
||||
<p>This task supports the nested elements
|
||||
<a href="http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html"><fileset></a>,
|
||||
<a href="http://jakarta.apache.org/ant/manual/using.html#path"><classpath></a>,
|
||||
<a href="http://ant.apache.org/manual/CoreTypes/fileset.html"><fileset></a>,
|
||||
<a href="http://ant.apache.org/manual/using.html#path"><classpath></a>,
|
||||
<span class="default"><formatter></span> and
|
||||
<span class="default"><property></span>.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -504,7 +504,7 @@ like <span class="code">1</span>.
|
|||
</p>
|
||||
<pre class="body" >
|
||||
String a = getParameter("a");
|
||||
String b = (a==null || a.length<1) ? null : a.substring(1);
|
||||
String b = (a==null || a.length<1) ? null : a.substring(1);
|
||||
</pre>
|
||||
<p class="body">
|
||||
Rationale: Some developers find inline conditionals hard to read,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<p class="body">
|
||||
Each of these naming modules validates identifiers for particular code elements. Valid
|
||||
identifiers for a naming module are specified by its <span class="code">
|
||||
format</span> property. The value of <span class="code">format</span> is a <a href="http://jakarta.apache.org/regexp">regular
|
||||
format</span> property. The value of <span class="code">format</span> is a <a href="http://jakarta.apache.org/regexp/">regular
|
||||
expression</a> for valid identifiers.
|
||||
This is an example of a configuration of the <span class="code">MemberName</span> module to
|
||||
ensure that member identifiers begin with <span class="code">'m'</span>,
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
|
||||
<p class="body">
|
||||
A good example of a report that can be produced using Checkstyle and
|
||||
<a href="http://jakarta.apache.org/turbine/maven">Maven</a> can be
|
||||
<a href="http://jakarta.apache.org/turbine/maven/">Maven</a> can be
|
||||
<a href="http://jakarta.apache.org/turbine/maven/checkstyle-report.html">seen here</a>.
|
||||
</p>
|
||||
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
</p>
|
||||
|
||||
<ul>
|
||||
<li class="body">An <a href="http://jakarta.apache.org/ant/index.html">Ant</a> task.</li>
|
||||
<li class="body">An <a href="http://ant.apache.org/index.html">Ant</a> task.</li>
|
||||
<li class="body">A command line tool.</li>
|
||||
</ul>
|
||||
|
||||
|
|
@ -166,13 +166,13 @@
|
|||
<ul>
|
||||
<li class="body">David Schneider has written a plug-in to integrate Checkstyle with <a href="http://www.eclipse.org">Eclipse/WSAD</a>. It is available from <a href="http://www.atlas-sw.com">http://www.atlas-sw.com</a>.</li>
|
||||
<li class="body">Mark Lussier has written a plug-in to integrate Checkstyle with <a href="http://www.intellij.com/idea/">IntelliJ IDEA</a>. It is available from <a href="http://www.intellij.org/twiki/bin/view/Main/JetStylePlugin">http://www.intellij.org/twiki/bin/view/Main/JetStylePlugin</a>.</li>
|
||||
<li class="body">The <a href="http://jakarta.apache.org/turbine/maven">Maven</a> project management system provides support for Checkstyle. Configuration documentation is available from <a href="http://jakarta.apache.org/turbine/maven/ref/properties.html#Checkstyle Settings">here</a> and an example report <a href="http://jakarta.apache.org/turbine/maven/checkstyle-report.html">here</a>.</li>
|
||||
<li class="body">The <a href="http://jakarta.apache.org/turbine/maven/">Maven</a> project management system provides support for Checkstyle. <a href="http://jakarta.apache.org/turbine/maven/reference/plugins/checkstyle/properties.html">Configuration documentation</a> and an <a href="http://jakarta.apache.org/turbine/maven/checkstyle-report.html">example report</a> are also available.</li>
|
||||
<li class="body">Xandy Johnson has written a file-type plug-in to integrate Checkstyle with the <a href="http://www.vim.org">Vim editor</a>. It is available from <a href="http://vim.sourceforge.net/script.php?script_id=448">here</a>.</li>
|
||||
<li class="body">Todd Papaioannou has written <a href="http://plugins.jedit.org/plugins/CheckStylePlugin">CheckStylePlugin</a> to integrate Checkstyle with the very cool <a href="http://www.jedit.org/">jEdit</a> editor.</li>
|
||||
<li class="body">Todd Papaioannou has written <a href="http://plugins.jedit.org/plugins/?CheckStylePlugin">CheckStylePlugin</a> to integrate Checkstyle with the very cool <a href="http://www.jedit.org/">jEdit</a> editor.</li>
|
||||
<li class="body">Paul Goulbourn has written <a href="http://nbcheckstyle.sourceforge.net">nbCheckStyle</a>, a module to integrate Checkstyle with <a href="http://www.netbeans.org">NetBeans</a>.</li>
|
||||
<li class="body">The <a href="http://www.krysalis.org/centipede/">Krysalis Centipede</a> build system provides a plug-in for Checkstyle. Documentation is available from <a href="http://www.krysalis.org/centipede/centipede/">http://www.krysalis.org/centipede/centipede/</a>.</li>
|
||||
<li class="body">Angus Chan has written <a href="http://jbcheckstyle.sourceforge.net">jbCheckStyle</a>, an Open Tool for JBuilder.</li>
|
||||
<li class="body">Markus Mohnen has written a nice interface to Checkstyle for the <a href="http://jde.sunsite.dk">Emacs JDE</a>. It is now part of the standard JDE distribution.</li>
|
||||
<li class="body">Markus Mohnen has written a nice interface to Checkstyle for the <a href="http://jdee.sunsite.dk">Emacs JDE</a>. It is now part of the standard JDEE distribution.</li>
|
||||
</ul>
|
||||
|
||||
<p class="body">
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ parsed as a set of comma (',') separated integers that are parsed using the
|
|||
<h2><a name="regexp">Regular Expression</a></h2>
|
||||
|
||||
<p>This property represents a regular expression. The string representation is
|
||||
parsed using the excellent <a href="http://jakarta.apache.org/regexp">Jakarta
|
||||
parsed using the excellent <a href="http://jakarta.apache.org/regexp/">Jakarta
|
||||
Regexp</a> library.</p>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@
|
|||
|
||||
<p class="body"> Before any visitor method is called, the TreeWalker
|
||||
will call <a
|
||||
href="api/com/puppycrawl/tools/checkstyle/api/Check.html#beginTree()"><span
|
||||
href="api/com/puppycrawl/tools/checkstyle/api/Check.html#beginTree(com.puppycrawl.tools.checkstyle.api.DetailAST)"><span
|
||||
class="code">beginTree()</span></a> to give the Check a chance to do
|
||||
some initialization. Then, when performing the recursive descend from
|
||||
the root to the leaf nodes, the <span class="code">visitToken()</span>
|
||||
|
|
@ -222,7 +222,7 @@
|
|||
method to signal that the subtree below the node has been processed and
|
||||
the TreeWalker is backtracking from the node. After the root node has
|
||||
been left, the TreeWalker will call <a
|
||||
href="api/com/puppycrawl/tools/checkstyle/api/Check.html#finishTree()"><span
|
||||
href="api/com/puppycrawl/tools/checkstyle/api/Check.html#finishTree(com.puppycrawl.tools.checkstyle.api.DetailAST)"><span
|
||||
class="code">finishTree()</span></a>. </p>
|
||||
|
||||
<p class="body">
|
||||
|
|
@ -465,7 +465,7 @@
|
|||
<p class="body">
|
||||
This means that you cannot implement some of the code inspection
|
||||
features that are available in advanced IDEs like <a
|
||||
href="http://www.intellij.com/idea">IntelliJ IDEA</a>. For
|
||||
href="http://www.intellij.com/idea/">IntelliJ IDEA</a>. For
|
||||
example you will not be able to implement a Check that finds
|
||||
redundant type casts or unused public methods.
|
||||
</p>
|
||||
|
|
@ -501,7 +501,7 @@
|
|||
|
||||
public void process(File[] files)
|
||||
{
|
||||
if (files != null && files.length > max) {
|
||||
if (files != null && files.length > max) {
|
||||
|
||||
// Build the error list. Here we fire only one error
|
||||
LocalizedMessage[] errors = new LocalizedMessage[1];
|
||||
|
|
@ -573,5 +573,5 @@
|
|||
</tr>
|
||||
</table>
|
||||
<hr/>
|
||||
<p align="center">Copyright © 2002 Oliver Burn. All rights Reserved.</p>
|
||||
<p class="copyright">Copyright © 2002-2003 Oliver Burn. All rights Reserved.</p>
|
||||
</body> </html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue