Changeset 18715 for gli/trunk


Ignore:
Timestamp:
2009-03-19T15:11:48+13:00 (15 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.

File:
1 edited

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) {
Note: See TracChangeset for help on using the changeset viewer.