Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/audio/AudioPreference.java

    r8509 r8510  
    6161        audioMenuVisible.setSelected(!Main.pref.getBoolean("audio.menuinvisible"));
    6262        audioMenuVisible.setToolTipText(tr("Show or hide the audio menu entry on the main menu bar."));
    63         audio.add(audioMenuVisible, GBC.eol().insets(0,0,0,0));
     63        audio.add(audioMenuVisible, GBC.eol().insets(0, 0, 0, 0));
    6464
    6565        // audioTraceVisible
     
    6767        markerAudioTraceVisible.setToolTipText(
    6868                tr("Display a moving icon representing the point on the synchronized track where the audio currently playing was recorded."));
    69         audio.add(markerAudioTraceVisible, GBC.eol().insets(0,0,0,0));
     69        audio.add(markerAudioTraceVisible, GBC.eol().insets(0, 0, 0, 0));
    7070
    7171        // buttonLabels
    7272        markerButtonLabels.setSelected(Main.pref.getBoolean("marker.buttonlabels", true));
    7373        markerButtonLabels.setToolTipText(tr("Put text labels against audio (and image and web) markers as well as their button icons."));
    74         audio.add(markerButtonLabels, GBC.eol().insets(0,0,0,0));
     74        audio.add(markerButtonLabels, GBC.eol().insets(0, 0, 0, 0));
    7575
    7676        audio.add(new JLabel(tr("When importing audio, make markers from...")), GBC.eol());
     
    7979        audioMarkersFromExplicitWaypoints.setSelected(Main.pref.getBoolean("marker.audiofromexplicitwaypoints", true));
    8080        audioMarkersFromExplicitWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer."));
    81         audio.add(audioMarkersFromExplicitWaypoints, GBC.eol().insets(10,0,0,0));
     81        audio.add(audioMarkersFromExplicitWaypoints, GBC.eol().insets(10, 0, 0, 0));
    8282
    8383        // audioMarkersFromUntimedWaypoints
    8484        audioMarkersFromUntimedWaypoints.setSelected(Main.pref.getBoolean("marker.audiofromuntimedwaypoints", true));
    8585        audioMarkersFromUntimedWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer."));
    86         audio.add(audioMarkersFromUntimedWaypoints, GBC.eol().insets(10,0,0,0));
     86        audio.add(audioMarkersFromUntimedWaypoints, GBC.eol().insets(10, 0, 0, 0));
    8787
    8888        // audioMarkersFromNamedTrackpoints
     
    9090        audioMarkersFromNamedTrackpoints.setToolTipText(
    9191                tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions."));
    92         audio.add(audioMarkersFromNamedTrackpoints, GBC.eol().insets(10,0,0,0));
     92        audio.add(audioMarkersFromNamedTrackpoints, GBC.eol().insets(10, 0, 0, 0));
    9393
    9494        // audioMarkersFromWavTimestamps
     
    9696        audioMarkersFromWavTimestamps.setToolTipText(
    9797                tr("Create audio markers at the position on the track corresponding to the modified time of each audio WAV file imported."));
    98         audio.add(audioMarkersFromWavTimestamps, GBC.eol().insets(10,0,0,0));
     98        audio.add(audioMarkersFromWavTimestamps, GBC.eol().insets(10, 0, 0, 0));
    9999
    100100        // audioMarkersFromStart
     
    102102        audioMarkersFromStart.setToolTipText(
    103103                tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions."));
    104         audio.add(audioMarkersFromStart, GBC.eol().insets(10,0,0,0));
     104        audio.add(audioMarkersFromStart, GBC.eol().insets(10, 0, 0, 0));
    105105
    106106        audioForwardBackAmount.setText(Main.pref.get("audio.forwardbackamount", "10.0"));
    107107        audioForwardBackAmount.setToolTipText(tr("The number of seconds to jump forward or back when the relevant button is pressed"));
    108108        audio.add(new JLabel(tr("Forward/back time (seconds)")), GBC.std());
    109         audio.add(audioForwardBackAmount, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5));
     109        audio.add(audioForwardBackAmount, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5));
    110110
    111111        audioFastForwardMultiplier.setText(Main.pref.get("audio.fastfwdmultiplier", "1.3"));
    112112        audioFastForwardMultiplier.setToolTipText(tr("The amount by which the speed is multiplied for fast forwarding"));
    113113        audio.add(new JLabel(tr("Fast forward multiplier")), GBC.std());
    114         audio.add(audioFastForwardMultiplier, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5));
     114        audio.add(audioFastForwardMultiplier, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5));
    115115
    116116        audioLeadIn.setText(Main.pref.get("audio.leadin", "1.0"));
     
    118118                tr("Playback starts this number of seconds before (or after, if negative) the audio track position requested"));
    119119        audio.add(new JLabel(tr("Lead-in time (seconds)")), GBC.std());
    120         audio.add(audioLeadIn, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5));
     120        audio.add(audioLeadIn, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5));
    121121
    122122        audioCalibration.setText(Main.pref.get("audio.calibration", "1.0"));
    123123        audioCalibration.setToolTipText(tr("The ratio of voice recorder elapsed time to true elapsed time"));
    124124        audio.add(new JLabel(tr("Voice recorder calibration")), GBC.std());
    125         audio.add(audioCalibration, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5));
     125        audio.add(audioCalibration, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5));
    126126
    127127        audio.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL));
Note: See TracChangeset for help on using the changeset viewer.