~ubuntu-branches/ubuntu/trusty/freeguide/trusty

« back to all changes in this revision

Viewing changes to src/freeguide/plugins/program/freeguide/migration/Migrate0_10_2To0_10_3.java

  • Committer: Bazaar Package Importer
  • Author(s): Shaun Jackman
  • Date: 2007-09-11 16:52:59 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070911165259-4r32oke21i1ezbmv
Tags: 0.10.5-1
* New upstream release.
* Update the watch file.
* Change Debian policy to version 3.7.2.2. No changes necessary.
* Add ant-optional to build dependencies. Closes: #441762.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
import freeguide.common.lib.general.StringHelper;
4
4
 
 
5
import freeguide.plugins.program.freeguide.FreeGuide;
 
6
 
5
7
import java.util.Map;
6
8
import java.util.prefs.BackingStoreException;
7
9
 
43
45
     */
44
46
    public void migrate(  ) throws Exception
45
47
    {
 
48
        FreeGuide.log.info( "Upgrading preferences 0.10.2 -> 0.10.3" );
 
49
 
46
50
        String browserCommand = getAndRemoveKey( "browserCommand" );
47
51
        browserCommand = StringHelper.replaceAll( 
48
52
                browserCommand, "file://%filename%", "%url%" );