forked from phoedos/pmd
apply patch 3084292: character reference in xml report - thanks to Seko
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7319 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -439,6 +439,7 @@ The RuleSet XML Schema is located in the source at: etc/ruleset_2_0_0.xsd
|
||||
The RuleSet DTD is located in the source at: etc/ruleset_2_0_0.dtd
|
||||
Improved include/exclude pattern matching performance for ends-with type patterns.
|
||||
Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
|
||||
Fixed character reference in xml report - thanks to Seko
|
||||
|
||||
New Java rules:
|
||||
|
||||
|
@ -37,7 +37,7 @@ public class StringUtilTest {
|
||||
/**
|
||||
* Usually you would set the system property "net.sourceforge.pmd.supportUTF8" to either "no" or "yes", to
|
||||
* switch UTF8 support.
|
||||
*
|
||||
*
|
||||
* e.g.
|
||||
* <code>System.setProperty("net.sourceforge.pmd.supportUTF8","yes");</code>
|
||||
*/
|
||||
@ -46,7 +46,7 @@ public class StringUtilTest {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String test = "é";
|
||||
StringUtil.appendXmlEscaped(sb, test, false);
|
||||
assertEquals("é", sb.toString());
|
||||
assertEquals("é", sb.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user