Changeset 18715

Show
Ignore:
Timestamp:
19.03.2009 15:11:48 (10 years ago)
Author:
ak19
Message:

In Java 6, File.toURL() is deprecated and we're advised to use File.toURI().toURL() which should be backwards compatible with Java 1.4.2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/HelpFrame.java

    r18370 r18715  
    172172 
    173173        // Normal case: get help file out of GLI "help" folder 
    174         return (new File(help_file_path)).toURL(); 
     174        return (new File(help_file_path)).toURI().toURL(); 
    175175        } 
    176176        catch (Exception exception) {