åç §: http://stackoverflow.com/questions/2348399/why-does-java-net-urls-hashcode-resolve-the-host-to-an-ip å ¬å¼ããã¥ã¡ã³ãã«ããã¨: public boolean equals(Object obj) ⦠2 ã¤ã® URL ãªãã¸ã§ã¯ããçããã®ã¯ãåããããã³ã«ãæã¡ãåããã¹ããåç §ãããã¹ãä¸ã®ãã¼ãçªå·ãåãã§ããã¡ã¤ã«ã¨ãã¡ã¤ã«ã®ãã©ã°ã¡ã³ããåãå ´åã§ãã 2 ã¤ã®ãã¹ããç価ã¨è¦ãªãããã®ã¯ã両æ¹ã®ãã¹ãåãåã IP ã¢ãã¬ã¹ã«è§£æ±ºãããããã©ã¡ããã®ãã¹ãåã解決ã§ããªãå ´åã¯ã大æåå°æåã«é¢ä¿ãªããã¹ãåãçãããã両æ¹ã®ãã¹ãåã null ã«çããå ´åã§ãã ãã¹ãæ¯è¼ã«ã¯åå解決ãå¿ è¦ãªã®ã§ããã®æä½ã¯ãããã¯æä½ã§ãã java.net.URL#equals
{{#tags}}- {{label}}
{{/tags}}