/[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.34 by mark, Sun Jul 4 15:41:04 2004 UTC revision 1.35 by jfrijters, Fri Jul 16 09:39:55 2004 UTC
# Line 289  public final class URL implements Serial Line 289  public final class URL implements Serial
289      this.host = host;      this.host = host;
290      this.port = port;      this.port = port;
291      this.authority = (host != null) ? host : "";      this.authority = (host != null) ? host : "";
292      if (port >= 0)      if (port >= 0 && host != null)
293          this.authority += ":" + port;          this.authority += ":" + port;
294    
295      int hashAt = file.indexOf('#');      int hashAt = file.indexOf('#');

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

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