Changeset 32322 in osm


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

checkstyle

Location:
applications/editors/josm/plugins
Files:
3 added
69 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r32317 r32322  
    6666    **********************************************************
    6767    -->
    68     <target name="compile" depends="init" unless="skip-compile">
     68    <target name="pre-compile">
     69        <!-- to be overidden by plugins that need to perform additional tasks before compiling -->
     70    </target>
     71    <target name="compile" depends="init, pre-compile" unless="skip-compile">
    6972        <echo message="compiling sources for ${plugin.jar} ..."/>
    7073        <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeantruntime="false" encoding="UTF-8">
  • applications/editors/josm/plugins/dataimport/build.xml

    r32306 r32322  
    2121    <!-- ** include targets that all plugins have in common ** -->
    2222    <import file="../build-common.xml"/>
    23  
     23
     24    <target name="pre-compile" depends="-jaxb_win, -jaxb_nix" unless="jaxb.notRequired">
     25        <exec executable="${xjc}" failonerror="true">
     26            <arg value="-d"/>
     27            <arg value="src"/>
     28            <arg value="-p"/>
     29            <arg value="org.openstreetmap.josm.plugins.dataimport.io.tcx"/>
     30            <arg value="-encoding"/>
     31            <arg value="UTF-8"/>
     32            <arg value="resources/tcx/TrainingCenterDatabasev2.xsd"/>
     33        </exec>
     34    </target>
     35
    2436</project>
  • 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.