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

Diff of /classpath/java/net/URLStreamHandler.java

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

revision 1.18 by mkoch, Fri Jun 27 22:13:48 2003 UTC revision 1.19 by mkoch, Fri Sep 19 06:19:42 2003 UTC
# Line 196  public abstract class URLStreamHandler Line 196  public abstract class URLStreamHandler
196              // need to canonicalise the file path.              // need to canonicalise the file path.
197              try              try
198                {                {
199                    boolean endsWithSlash = file.charAt(file.length() - 1) == '/';
200                  file = new File (file).getCanonicalPath ();                  file = new File (file).getCanonicalPath ();
201                    if (endsWithSlash
202                        && file.charAt(file.length() - 1) != '/')
203                      file += '/';
204                }                }
205              catch (IOException e)              catch (IOException e)
206                {                {

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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