fix typos
This commit is contained in:
parent
403a3f70a3
commit
f8a69b0780
|
|
@ -151,11 +151,11 @@ This task is included in the checkstyle distribution.</p>
|
|||
|
||||
<p><b>Run checkstyle on a set of Java files and disable pattern matching</b></p>
|
||||
<pre>
|
||||
<checkstyle allowTabs="yes">
|
||||
<checkstyle allowTabs="yes"
|
||||
paramPattern="."
|
||||
constPattern="."
|
||||
staticPattern="."
|
||||
memberPattern="."
|
||||
memberPattern=".">
|
||||
<fileset dir="src/checkstyle" includes="**/*.java"/>
|
||||
</checkstyle>
|
||||
</pre>
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ public class CheckStyleTask
|
|||
c = new Checker(mConfig, System.out);
|
||||
AuditListener[] listeners = getListeners();
|
||||
for (int i = 0; i < listeners.length; i++) {
|
||||
c.addListener( listeners[i] );
|
||||
c.addListener(listeners[i]);
|
||||
}
|
||||
final String[] files = scanFileSets();
|
||||
numErrs = c.process(files);
|
||||
|
|
|
|||
Loading…
Reference in New Issue