<?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: How equals() works for URLs</title>
	<atom:link href="http://www.javablogging.com/how-equals-works-for-urls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javablogging.com/how-equals-works-for-urls/</link>
	<description>Tracking surprises, features and bugs</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:19:17 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vibram five fingers kso shoes</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-3182</link>
		<dc:creator>vibram five fingers kso shoes</dc:creator>
		<pubDate>Sat, 03 Jul 2010 03:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-3182</guid>
		<description>Women&#039;s  &lt;a href=&quot;http://www.vibramfivefingers.name&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;vibram five fingers kso shoes&lt;/strong&gt;&lt;/a&gt; Gray Pink Shoes can keep your feet in the freest condition,just as if your were barefooted. &lt;strong&gt;vibram five fingers kso shoes &lt;/strong&gt;is made of the best and proper materials,so you don&#039;t need to doubt of its comfort with so thin sole and upper.
Gray match with a dreamlike and romantic color,pink&lt;a href=&quot;http://www.vibramfivefingers.name&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt; vibram five fingers kso shoes&lt;/strong&gt;&lt;/a&gt; is very consistent with the style of young girls.In this busy and tense times,people need relax without any fetter.</description>
		<content:encoded><![CDATA[<p>Women&#8217;s  <a href="http://www.vibramfivefingers.name" rel="nofollow"><strong>vibram five fingers kso shoes</strong></a> Gray Pink Shoes can keep your feet in the freest condition,just as if your were barefooted. <strong>vibram five fingers kso shoes </strong>is made of the best and proper materials,so you don&#8217;t need to doubt of its comfort with so thin sole and upper.<br />
Gray match with a dreamlike and romantic color,pink<a href="http://www.vibramfivefingers.name" rel="nofollow"><strong> vibram five fingers kso shoes</strong></a> is very consistent with the style of young girls.In this busy and tense times,people need relax without any fetter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atc</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-1386</link>
		<dc:creator>atc</dc:creator>
		<pubDate>Thu, 31 Dec 2009 16:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-1386</guid>
		<description>Are they the same though?

The use of the subdomain (&#039;www&#039;) is superfluous because www is implicit when using the HTTP URL scheme; the second URL is using the implicit nature of HTTP to refer to www by default.</description>
		<content:encoded><![CDATA[<p>Are they the same though?</p>
<p>The use of the subdomain (&#8217;www&#8217;) is superfluous because www is implicit when using the HTTP URL scheme; the second URL is using the implicit nature of HTTP to refer to www by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lo Interesante del Día &#171; Simposio Técnico</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-717</link>
		<dc:creator>Lo Interesante del Día &#171; Simposio Técnico</dc:creator>
		<pubDate>Fri, 23 Oct 2009 15:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-717</guid>
		<description>[...] equals ( http://www.javablogging.com/how-equals-works-for-urls/ ) Es un articulo interesante y a tener muy en cuenta, de hecho el dia anterior a leer este blog [...]</description>
		<content:encoded><![CDATA[<p>[...] equals ( <a href="http://www.javablogging.com/how-equals-works-for-urls/" rel="nofollow">http://www.javablogging.com/how-equals-works-for-urls/</a> ) Es un articulo interesante y a tener muy en cuenta, de hecho el dia anterior a leer este blog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gwenn</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-560</link>
		<dc:creator>Gwenn</dc:creator>
		<pubDate>Wed, 07 Oct 2009 12:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-560</guid>
		<description>This behavior makes non-sense. Whether a Host-Header matches the same virtual server is not being decided upon the IP bound to any interface. It may be on the same machine and equal even as it differs, and it may be different even if the IP matches.</description>
		<content:encoded><![CDATA[<p>This behavior makes non-sense. Whether a Host-Header matches the same virtual server is not being decided upon the IP bound to any interface. It may be on the same machine and equal even as it differs, and it may be different even if the IP matches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ppow</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-545</link>
		<dc:creator>ppow</dc:creator>
		<pubDate>Tue, 06 Oct 2009 10:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-545</guid>
		<description>I believe you cannot think about internet connection in terms of URL&#039;s &#039;information used in equals comparisons&#039;. The objects themselves were not changed by us and the equals() result changes - this is IMHO inconsistency. 

Another thing: this result has nothing to do with virtual hosting (two different hosts like www.abc.com and www.xyz.com resolving to the same IP), but only with a different ways the same host name is written. So basically the note on URL.equals() means that even though www.abc.com and www.xyz.com are different hosts you can get that:  (new URL(&quot;www.abc.com&quot;)).equals(new URL(www.xyz.com)) == true</description>
		<content:encoded><![CDATA[<p>I believe you cannot think about internet connection in terms of URL&#8217;s &#8216;information used in equals comparisons&#8217;. The objects themselves were not changed by us and the equals() result changes &#8211; this is IMHO inconsistency. </p>
<p>Another thing: this result has nothing to do with virtual hosting (two different hosts like <a href="http://www.abc.com" rel="nofollow">http://www.abc.com</a> and <a href="http://www.xyz.com" rel="nofollow">http://www.xyz.com</a> resolving to the same IP), but only with a different ways the same host name is written. So basically the note on URL.equals() means that even though <a href="http://www.abc.com" rel="nofollow">http://www.abc.com</a> and <a href="http://www.xyz.com" rel="nofollow">http://www.xyz.com</a> are different hosts you can get that:  (new URL(&#8221;www.abc.com&#8221;)).equals(new URL(www.xyz.com)) == true</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-541</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 06 Oct 2009 07:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-541</guid>
		<description>Is it really inconsistent? The JavaDoc for Object.equals() states: 

It [equals()] is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified. 


So it seems to be consistent in terms of the information used in its implementation. On the other hand, the JavaDoc for URL.equals() says:

Note: The defined behavior for equals is known to be inconsistent with virtual hosting in HTTP.</description>
		<content:encoded><![CDATA[<p>Is it really inconsistent? The JavaDoc for Object.equals() states: </p>
<p>It [equals()] is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified. </p>
<p>So it seems to be consistent in terms of the information used in its implementation. On the other hand, the JavaDoc for URL.equals() says:</p>
<p>Note: The defined behavior for equals is known to be inconsistent with virtual hosting in HTTP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CertPal</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-540</link>
		<dc:creator>CertPal</dc:creator>
		<pubDate>Tue, 06 Oct 2009 05:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-540</guid>
		<description>Nice ppow. Didn&#039;t know this. 

I have never used equals on a URL so far. Never found the need to. An interesting equals implementation indeed</description>
		<content:encoded><![CDATA[<p>Nice ppow. Didn&#8217;t know this. </p>
<p>I have never used equals on a URL so far. Never found the need to. An interesting equals implementation indeed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention JavaBlogging » How equals() works for URLs -- Topsy.com</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-537</link>
		<dc:creator>Tweets that mention JavaBlogging » How equals() works for URLs -- Topsy.com</dc:creator>
		<pubDate>Mon, 05 Oct 2009 11:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-537</guid>
		<description>[...] This post was mentioned on Twitter by Naresh Khalasi. Naresh Khalasi said: RT: @rahul_garg: How equals() works for URLs http://bit.ly/njWT4 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Naresh Khalasi. Naresh Khalasi said: RT: @rahul_garg: How equals() works for URLs <a href="http://bit.ly/njWT4" rel="nofollow">http://bit.ly/njWT4</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Winterberg</title>
		<link>http://www.javablogging.com/how-equals-works-for-urls/comment-page-1/#comment-536</link>
		<dc:creator>Benjamin Winterberg</dc:creator>
		<pubDate>Mon, 05 Oct 2009 11:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=527#comment-536</guid>
		<description>Nice post.
IIRC URIs equals() is well implemented, so you should prefer URI over URL.</description>
		<content:encoded><![CDATA[<p>Nice post.<br />
IIRC URIs equals() is well implemented, so you should prefer URI over URL.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
