code cleanup: extra '[' in <![CDATA[ removed

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6515 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch 2008-09-26 19:05:10 +00:00
parent 7cd887ba8c
commit f3c1227dcc
5 changed files with 7 additions and 7 deletions

View File

@ -1122,7 +1122,7 @@ public class Test {
</property>
</properties>
<example>
<![CDATA[[
<![CDATA[
// This is NOT appropriate !
Statement stat = conn.createStatement();
ResultSet rst = stat.executeQuery("SELECT name FROM person");
@ -1178,7 +1178,7 @@ public class Test {
</property>
</properties>
<example>
<![CDATA[[
<![CDATA[
// These are typo bugs, or at best needlessly complex and confusing:
int i = - -1;
int j = + - +1;

View File

@ -651,7 +651,7 @@ starts-with(@Image,'Runtime.getRuntime') and
</property>
</properties>
<example>
<![CDATA[[
<![CDATA[
public class GCCall
{
public GCCall()

View File

@ -224,7 +224,7 @@ public class Foo {
class="net.sourceforge.pmd.rules.XPathRule"
externalInfoUrl="http://pmd.sourceforge.net/rules/strictexception.html#DoNotExtendJavaLangError">
<description>
<![CDATA[[
<![CDATA[
Errors are system exceptions. Do not extend them.
]]>
</description>
@ -250,7 +250,7 @@ public class Foo {
class="net.sourceforge.pmd.rules.XPathRule"
externalInfoUrl="http://pmd.sourceforge.net/rules/strictexception.html#DoNotThrowExceptionInFinally">
<description>
<![CDATA[[
<![CDATA[
Throwing exception in a finally block is confusing. It may mask exception or a defect of the code,
it also render code cleanup uninstable.
Note: This is a PMD implementation of the Lint4j rule "A throw in a finally block"

View File

@ -381,7 +381,7 @@ class Foo {
class="net.sourceforge.pmd.rules.XPathRule"
externalInfoUrl="http://pmd.sourceforge.net/rules/strings.html#AvoidStringBufferField">
<description>
<![CDATA[[
<![CDATA[
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time).
]]>
</description>

View File

@ -44,7 +44,7 @@
<p>
To specify a ruleset, simply edit the previous configuration:
<source>
<![CDATA[[
<![CDATA[
<reporting>
<plugins>
<plugin>