<?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: Static Import Code Completion</title>
	<atom:link href="http://stuffthathappens.com/blog/2007/11/25/static-import-code-completion/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuffthathappens.com/blog/2007/11/25/static-import-code-completion/</link>
	<description>Technology and Geek Stuff by Eric Burke</description>
	<lastBuildDate>Thu, 04 Nov 2010 22:37:00 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Lawrey</title>
		<link>http://stuffthathappens.com/blog/2007/11/25/static-import-code-completion/comment-page-1/#comment-2076</link>
		<dc:creator>Peter Lawrey</dc:creator>
		<pubDate>Tue, 27 Nov 2007 21:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/11/25/static-import-code-completion/#comment-2076</guid>
		<description>IDEA also auto fixes
assertEquals(true, x) =&gt; assertTrue(x)
assertEquals(false, x) =&gt; assertFalse(x)
assertTrue(a == b) =&gt; assertSame(a,b)
assertTrue(a.equals(b)) =&gt; assertEquals(a,b)
assertEquals(null, x) =&gt; assertNull(x)

The more interesting one is
assertEquals(expression, constant) eg assertEquals(x - x, 0) =&gt; assertEquals(constant, expression)
i.e. the first argument should be the expected value</description>
		<content:encoded><![CDATA[<p>IDEA also auto fixes<br />
assertEquals(true, x) =&gt; assertTrue(x)<br />
assertEquals(false, x) =&gt; assertFalse(x)<br />
assertTrue(a == b) =&gt; assertSame(a,b)<br />
assertTrue(a.equals(b)) =&gt; assertEquals(a,b)<br />
assertEquals(null, x) =&gt; assertNull(x)</p>
<p>The more interesting one is<br />
assertEquals(expression, constant) eg assertEquals(x &#8211; x, 0) =&gt; assertEquals(constant, expression)<br />
i.e. the first argument should be the expected value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam.Halliday</title>
		<link>http://stuffthathappens.com/blog/2007/11/25/static-import-code-completion/comment-page-1/#comment-1983</link>
		<dc:creator>Sam.Halliday</dc:creator>
		<pubDate>Mon, 26 Nov 2007 08:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2007/11/25/static-import-code-completion/#comment-1983</guid>
		<description>I found a little Eclipse feature a few weeks ago that may be the cure for all your woes...

Java -&gt; Editor -&gt; Content Assist -&gt; Favorites [sic]

and there you can add all your favourite static utility classes and you don&#039;t have to manually import them. If you find yourself importing the wrong classes all the time, consider adding the bad ones (i.e. com.*, sun.*, sunw.*) to

Java -&gt; Appearance -&gt; Type Filters</description>
		<content:encoded><![CDATA[<p>I found a little Eclipse feature a few weeks ago that may be the cure for all your woes&#8230;</p>
<p>Java -&gt; Editor -&gt; Content Assist -&gt; Favorites [sic]</p>
<p>and there you can add all your favourite static utility classes and you don&#8217;t have to manually import them. If you find yourself importing the wrong classes all the time, consider adding the bad ones (i.e. com.*, sun.*, sunw.*) to</p>
<p>Java -&gt; Appearance -&gt; Type Filters</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.218 seconds -->

