Ignore:
Timestamp:
2013-04-23T13:46:40+02:00 (12 years ago)
Author:
donvip
Message:

[josm_videomapping] Fix some warnings

Location:
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java

    r28949 r29536  
    4949public class VideoPlugin extends Plugin implements LayerChangeListener{
    5050        private JMenu VMenu,VDeinterlacer;
    51         private JosmAction VAdd,VRemove,VStart,Vbackward,Vforward,VJump,Vfaster,Vslower,Vloop;
     51        private JosmAction VAdd,/*VRemove,*/VStart,Vbackward,Vforward,VJump,Vfaster,Vslower,Vloop;
    5252        private JRadioButtonMenuItem VIntBob,VIntNone,VIntLinear;
    5353    private JCheckBoxMenuItem VCenterIcon,VSubTitles;
     
    8585                }
    8686        };
    87         VRemove= new JosmAction(tr("Remove Video"),"videomapping",tr("removes current video from layer"),null,false) {
    88             private static final long serialVersionUID = 1L;
    89 
     87        /*VRemove=*/ new JosmAction(tr("Remove Video"),"videomapping",tr("removes current video from layer"),null,false) {
    9088            public void actionPerformed(ActionEvent arg0) {
    9189            }
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/video/VideoPlayer.java

    r28949 r29536  
    168168        speed.setPaintTicks(true);         
    169169        speed.setOrientation(Adjustable.VERTICAL);
    170         Hashtable labelTable = new Hashtable ();
     170        Hashtable<Integer, JLabel> labelTable = new Hashtable<Integer, JLabel>();
    171171        labelTable.put( new Integer( 100 ), new JLabel("1x") );
    172172        labelTable.put( new Integer( 50 ), new JLabel("-2x") );
Note: See TracChangeset for help on using the changeset viewer.