Ignore:
Timestamp:
2008-12-25T18:58:04+01:00 (11 years ago)
Author:
stoecker
Message:

fixed bug #1871, removed all deprecations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioFastSlowAction.java

    r1169 r1180  
    2424    }
    2525
    26     @Deprecated
    27     public AudioFastSlowAction(String name, String iconName, String tooltip, int shortcut, int modifier, boolean fast) {
    28         super(name, iconName, tooltip, shortcut, modifier, true);
    29         try {
    30             multiplier = Double.parseDouble(Main.pref.get("audio.fastfwdmultiplier","1.3"));
    31         } catch (NumberFormatException e) {
    32             multiplier = 1.3;
    33         }
    34         if (! fast)
    35             multiplier = 1.0 / multiplier;
    36     }
    37 
    3826    public void actionPerformed(ActionEvent e) {
    3927        double speed = AudioPlayer.speed();
Note: See TracChangeset for help on using the changeset viewer.