/[classpath]/classpath/java/net/URL.java
ViewVC logotype

Diff of /classpath/java/net/URL.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by mkoch, Thu Oct 2 11:57:56 2003 UTC revision 1.22 by mkoch, Tue Nov 4 10:07:50 2003 UTC
# Line 451  public final class URL implements Serial Line 451  public final class URL implements Serial
451     */     */
452    public boolean equals (Object obj)    public boolean equals (Object obj)
453    {    {
454      if (obj == null || ! (obj instanceof URL))      if (! (obj instanceof URL))
455        return false;        return false;
456    
457      return ph.equals (this, (URL) obj);      return ph.equals (this, (URL) obj);
# Line 811  public final class URL implements Serial Line 811  public final class URL implements Serial
811                  // Can't instantiate; handler still null, go on to next element.                  // Can't instantiate; handler still null, go on to next element.
812                }                }
813            }            }
814          while ((ph == null ||          while ((! (ph instanceof URLStreamHandler))
                 !(ph instanceof URLStreamHandler))  
815                 && pkgPrefix.hasMoreTokens());                 && pkgPrefix.hasMoreTokens());
816        }        }
817    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26