Ignore:
Timestamp:
2016-06-19T02:43:21+02:00 (9 years ago)
Author:
donvip
Message:

checkstyle

Location:
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/EngineSound.java

    r23190 r32322  
    1111import java.util.TimerTask;
    1212
     13import javax.sound.sampled.AudioFormat;
    1314import javax.sound.sampled.AudioSystem;
    1415import javax.sound.sampled.DataLine;
    1516import javax.sound.sampled.SourceDataLine;
    16 import javax.sound.sampled.AudioFormat;
    1717
    18 class engine {
    19     public engine() {
     18class EngineSound {
     19    public EngineSound() {
    2020        rpm = 0.0;
    2121    }
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java

    r31307 r32322  
    3737import org.openstreetmap.josm.gui.layer.GpxLayer;
    3838import org.openstreetmap.josm.gui.layer.Layer;
    39 import org.openstreetmap.josm.gui.layer.WMSLayer;
    4039
    4140public class GameWindow extends JFrame implements ActionListener {
     
    7776        car_gps.start();
    7877
    79         car_engine = new engine();
     78        car_engine = new EngineSound();
    8079        car_engine.start();
    8180
     
    8685    }
    8786
    88     protected engine car_engine;
     87    protected EngineSound car_engine;
    8988
    9089    protected gps car_gps;
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java

    r29854 r32322  
    88import static org.openstreetmap.josm.tools.I18n.tr;
    99
    10 import org.openstreetmap.josm.gui.layer.Layer;
    11 import org.openstreetmap.josm.gui.MapView;
    12 import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    13 import org.openstreetmap.josm.gui.MapFrame;
    14 import org.openstreetmap.josm.actions.JosmAction;
    15 import org.openstreetmap.josm.plugins.Plugin;
    16 import org.openstreetmap.josm.plugins.PluginInformation;
    17 import org.openstreetmap.josm.Main;
     10import java.awt.event.ActionEvent;
    1811
    1912import javax.swing.JMenu;
    2013import javax.swing.JMenuItem;
    2114
    22 import java.awt.event.ActionEvent;
     15import org.openstreetmap.josm.Main;
     16import org.openstreetmap.josm.actions.JosmAction;
     17import org.openstreetmap.josm.gui.MapFrame;
     18import org.openstreetmap.josm.gui.MapView;
     19import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
     20import org.openstreetmap.josm.gui.layer.Layer;
     21import org.openstreetmap.josm.plugins.Plugin;
     22import org.openstreetmap.josm.plugins.PluginInformation;
    2323
    2424public class WMSRacer extends Plugin implements LayerChangeListener {
Note: See TracChangeset for help on using the changeset viewer.