<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Performance history about StringBuffer/String with JDKs</title>
	<atom:link href="http://www.bearaway.org/wp/2005/11/23/performance-history-about-stringbufferstring-with-jdks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bearaway.org/wp/2005/11/23/performance-history-about-stringbufferstring-with-jdks/</link>
	<description>Just another rant</description>
	<lastBuildDate>Sat, 22 May 2010 15:41:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Tom Copeland</title>
		<link>http://www.bearaway.org/wp/2005/11/23/performance-history-about-stringbufferstring-with-jdks/comment-page-1/#comment-289</link>
		<dc:creator>Tom Copeland</dc:creator>
		<pubDate>Sat, 26 Nov 2005 03:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bearaway.org/wp/?p=18#comment-289</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephane</title>
		<link>http://www.bearaway.org/wp/2005/11/23/performance-history-about-stringbufferstring-with-jdks/comment-page-1/#comment-18</link>
		<dc:creator>stephane</dc:creator>
		<pubDate>Fri, 25 Nov 2005 10:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bearaway.org/wp/?p=18#comment-18</guid>
		<description>Tom, that&#039;s cool. Thanks for your informative comment. Keep up the good job on PMD !</description>
		<content:encoded><![CDATA[<p>Tom, that&#8217;s cool. Thanks for your informative comment. Keep up the good job on PMD !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Copeland</title>
		<link>http://www.bearaway.org/wp/2005/11/23/performance-history-about-stringbufferstring-with-jdks/comment-page-1/#comment-17</link>
		<dc:creator>Tom Copeland</dc:creator>
		<pubDate>Thu, 24 Nov 2005 04:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bearaway.org/wp/?p=18#comment-17</guid>
		<description>Also, we&#039;re adding &quot;migration&quot; rules to aid in migrating from one JDK version to another:

http://pmd.sourceforge.net/current/rules/migrating.html

Only a few simple ones in there so far (replace Vector with List, etc), but maybe I can add some of the things you&#039;re talking about here...</description>
		<content:encoded><![CDATA[<p>Also, we&#8217;re adding &#8220;migration&#8221; rules to aid in migrating from one JDK version to another:</p>
<p><a href="http://pmd.sourceforge.net/current/rules/migrating.html" rel="nofollow">http://pmd.sourceforge.net/current/rules/migrating.html</a></p>
<p>Only a few simple ones in there so far (replace Vector with List, etc), but maybe I can add some of the things you&#8217;re talking about here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Copeland</title>
		<link>http://www.bearaway.org/wp/2005/11/23/performance-history-about-stringbufferstring-with-jdks/comment-page-1/#comment-16</link>
		<dc:creator>Tom Copeland</dc:creator>
		<pubDate>Thu, 24 Nov 2005 04:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.bearaway.org/wp/?p=18#comment-16</guid>
		<description>Very interesting, Stephane, thanks for the information post.  I&#039;m just working through adding some new StringBuffer and String checks to PMD; for example, there&#039;s this one:

http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1274198&amp;group_id=56262&amp;atid=479924

that finds code like:

String foo = rs.getString(&quot;somefield&quot;);
if (foo.toUpperCase().equals( &quot;GENERIC&quot; ) ){
}

rather than using String.equalsIgnoreCase(), and this one:

http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1295534&amp;group_id=56262&amp;atid=479924

which finds code like this:

void foo(StringBuffer sb) {
 if (sb.toString().equals(&quot;&quot;) ){ // just use sb.length() == 0 !!
 }
}

Never a dull moment...</description>
		<content:encoded><![CDATA[<p>Very interesting, Stephane, thanks for the information post.  I&#8217;m just working through adding some new StringBuffer and String checks to PMD; for example, there&#8217;s this one:</p>
<p><a href="http://sourceforge.net/tracker/index.php?func=detail&#038;aid=1274198&#038;group_id=56262&#038;atid=479924" rel="nofollow">http://sourceforge.net/tracker/index.php?func=detail&#038;aid=1274198&#038;group_id=56262&#038;atid=479924</a></p>
<p>that finds code like:</p>
<p>String foo = rs.getString(&#8220;somefield&#8221;);<br />
if (foo.toUpperCase().equals( &#8220;GENERIC&#8221; ) ){<br />
}</p>
<p>rather than using String.equalsIgnoreCase(), and this one:</p>
<p><a href="http://sourceforge.net/tracker/index.php?func=detail&#038;aid=1295534&#038;group_id=56262&#038;atid=479924" rel="nofollow">http://sourceforge.net/tracker/index.php?func=detail&#038;aid=1295534&#038;group_id=56262&#038;atid=479924</a></p>
<p>which finds code like this:</p>
<p>void foo(StringBuffer sb) {<br />
 if (sb.toString().equals(&#8220;&#8221;) ){ // just use sb.length() == 0 !!<br />
 }<br />
}</p>
<p>Never a dull moment&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

