Patch from Peter Dobratz to make the file xhtml compliant.
This commit is contained in:
parent
5db3630ded
commit
d1eb126cae
|
|
@ -210,7 +210,6 @@ provide a package names file</b>
|
|||
packageNamesFile="myPackageNames.xml"
|
||||
file="Check.java"/>
|
||||
</pre>
|
||||
</p>
|
||||
<p><b>Run checkstyle in an automated build and send an email report if style violations are detected</b></p>
|
||||
<pre>
|
||||
<target name="checkstyle"
|
||||
|
|
@ -245,6 +244,6 @@ provide a package names file</b>
|
|||
</pre>
|
||||
|
||||
<hr />
|
||||
<p>Copyright © 2002 Oliver Burn. All rights Reserved.</p>
|
||||
<p class="copyright">Copyright © 2002-2003 Oliver Burn. All rights Reserved.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -537,14 +537,13 @@
|
|||
"-//Puppy Crawl//DTD Package Names 1.0//EN"
|
||||
"http://www.puppycrawl.com/dtds/packages_1_0.dtd">
|
||||
</pre>
|
||||
<p class="body">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -309,8 +309,8 @@
|
|||
</table>
|
||||
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ line 5: ////////////////////////////////////////////////////////////////////
|
|||
<pre class="body">
|
||||
<module name="Header">
|
||||
<property name="headerFile" value="java.header"/>
|
||||
<property name="ignoreLines"" value="2, 3, 4"/>
|
||||
<property name="ignoreLines" value="2, 3, 4"/>
|
||||
</module>
|
||||
</pre>
|
||||
<h4>Package</h4>
|
||||
|
|
@ -156,7 +156,7 @@ line 6: /{71}
|
|||
<pre class="body">
|
||||
<module name="RegexpHeader">
|
||||
<property name="headerFile" value="java.header"/>
|
||||
<property name="ignoreLines"" value="2, 3, 4"/>
|
||||
<property name="ignoreLines" value="2, 3, 4"/>
|
||||
</module>
|
||||
</pre>
|
||||
<h4>Package</h4>
|
||||
|
|
@ -171,8 +171,8 @@ line 6: /{71}
|
|||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -195,8 +195,8 @@
|
|||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -364,8 +364,8 @@ convention of using a
|
|||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -329,10 +329,10 @@ else
|
|||
</pre>
|
||||
<p class="body">
|
||||
could be written as
|
||||
</p>
|
||||
<pre class="body">
|
||||
return !valid();
|
||||
</pre>
|
||||
</p>
|
||||
<p class="body">
|
||||
The Idea for this Check has been shamelessly stolen
|
||||
from the equivalent <a href="http://pmd.sourceforge.net">PMD</a> rule.
|
||||
|
|
@ -411,7 +411,7 @@ return !valid();
|
|||
</p>
|
||||
<p class="body">
|
||||
Consider the following properties file in the same directory:
|
||||
|
||||
</p>
|
||||
<pre>
|
||||
#messages.properties
|
||||
hello=Hello
|
||||
|
|
@ -425,13 +425,13 @@ return !valid();
|
|||
The Translation check will find the typo in the german hello key, the
|
||||
missing ok key in the default resource file and the missing cancel key
|
||||
in the german resource file:
|
||||
</p>
|
||||
<pre>
|
||||
messages_de.properties: Key 'hello' missing.
|
||||
messages_de.properties: Key 'cancel' missing.
|
||||
messages.properties: Key 'hell' missing.
|
||||
messages.properties: Key 'ok' missing.
|
||||
</pre>
|
||||
</p>
|
||||
<h4>Properties</h4>
|
||||
<table width="100%" border="1" cellpadding="5" class="body">
|
||||
<tr class="header">
|
||||
|
|
@ -632,12 +632,12 @@ public class StringUtils // not final to allow subclassing
|
|||
|
||||
<p class="body">
|
||||
The exact rule is that nonprivate methods of classes that can be subclassed must either be
|
||||
</p>
|
||||
<ul class="body">
|
||||
<li>abstract or</li>
|
||||
<li>final or</li>
|
||||
<li>have an empty implementation</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p class="body">
|
||||
Rationale: This API design style protects superclasses against beeing broken by
|
||||
|
|
@ -791,8 +791,8 @@ public class StringUtils // not final to allow subclassing
|
|||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -240,8 +240,8 @@ Language specification, section 9.3</a>).
|
|||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -126,8 +126,8 @@
|
|||
</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>Reporting Configuration</title>
|
||||
<link rel="stylesheet" type="text/css" href="mystyle.css">
|
||||
<link rel="stylesheet" type="text/css" href="mystyle.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
@ -48,8 +51,8 @@ reported as <span class="code">src\dir\subdir\File.java</span>. The property
|
|||
type is <a href="property_types.html#string">string</a> and defaults to an
|
||||
empty string.</p>
|
||||
|
||||
<hr>
|
||||
<p align="center">Copyright © 2002 Oliver Burn. All rights Reserved.</p>
|
||||
<hr/>
|
||||
<p class="copyright">Copyright © 2002-2003 Oliver Burn. All rights Reserved.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -283,8 +283,8 @@
|
|||
</table>
|
||||
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -414,8 +414,8 @@
|
|||
</table>
|
||||
|
||||
<hr />
|
||||
<p>
|
||||
Copyright © 2002 Oliver Burn. All rights Reserved.
|
||||
<p class="copyright">
|
||||
Copyright © 2002-2003 Oliver Burn. All rights Reserved.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ valid options:</p>
|
|||
</ul>
|
||||
|
||||
<hr />
|
||||
<p>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