Tweaked examples

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4116 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2006-01-05 22:01:14 +00:00
parent ded50b090f
commit ecf99afdea

View File

@@ -311,11 +311,11 @@ See http://www.javaspecialists.co.za/archive/newsletter.do?issue=042&locale=
<example>
<![CDATA[
public class Foo {
public static void main(String[] args) {
boolean b = true;
boolean c = false;
c = !b;
}
public void main(bar) {
boolean b = true;
b = !b; // slow
b ^= true; // fast
}
}
]]>
</example>