Changeset 2494


Ignore:
Timestamp:
03/22/07 09:41:47 (13 years ago)
Author:
curtis
Message:

Eliminate deprecation warning from Java 6 compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/Location.java

    r2198 r2494  
    303303  /* @see java.io.File#toURL() */ 
    304304  public URL toURL() throws MalformedURLException { 
    305     return isURL ? url : file.toURL(); 
     305    return isURL ? url : file.toURI().toURL(); 
    306306  } 
    307307 
Note: See TracChangeset for help on using the changeset viewer.