Changeset 8685 in josm for trunk


Ignore:
Timestamp:
2015-08-23T00:22:55+02:00 (9 years ago)
Author:
Don-vip
Message:

see #11428 - fix checkstyle issues

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/.settings/org.sonar.ide.eclipse.core.prefs

    r8510 r8685  
    11eclipse.preferences.version=1
    22extraProperties=
    3 lastAnalysisDate=1432333871000
     3lastAnalysisDate=1440282418279
    44projectKey=josm
    5 serverUrl=http\://josm.openstreetmap.de/sonar
     5serverUrl=https\://josm.openstreetmap.de/sonar
    66version=2
  • trunk/src/org/openstreetmap/josm/actions/OverpassDownloadAction.java

    r8684 r8685  
    1313import java.util.concurrent.Future;
    1414
    15 import javax.swing.*;
     15import javax.swing.AbstractAction;
     16import javax.swing.JButton;
     17import javax.swing.JLabel;
     18import javax.swing.JOptionPane;
     19import javax.swing.JPanel;
     20import javax.swing.JScrollPane;
     21import javax.swing.JTextArea;
    1622
    1723import org.openstreetmap.josm.Main;
     
    3238import org.openstreetmap.josm.tools.Utils;
    3339
     40/**
     41 * Download map data from Overpass API server.
     42 * @since 8684
     43 */
    3444public class OverpassDownloadAction extends JosmAction {
    3545
     46    /**
     47     * Constructs a new {@code OverpassDownloadAction}.
     48     */
    3649    public OverpassDownloadAction() {
    3750        super(tr("Download from Overpass API ..."), "download-overpass", tr("Download map data from Overpass API server."),
     
    5669    }
    5770
    58     static class OverpassDownloadDialog extends DownloadDialog {
     71    static final class OverpassDownloadDialog extends DownloadDialog {
    5972
    6073        protected HistoryComboBox overpassWizard;
     
    7285        }
    7386
    74         static public OverpassDownloadDialog getInstance() {
     87        public static OverpassDownloadDialog getInstance() {
    7588            if (instance == null) {
    7689                instance = new OverpassDownloadDialog(Main.parent);
  • trunk/src/org/openstreetmap/josm/actions/OverpassTurboQueryWizard.java

    r8684 r8685  
    22package org.openstreetmap.josm.actions;
    33
    4 import javax.script.Invocable;
    5 import javax.script.ScriptEngine;
    6 import javax.script.ScriptEngineManager;
    7 import javax.script.ScriptException;
    84import java.io.IOException;
    95import java.io.InputStreamReader;
     
    128import java.util.regex.Pattern;
    139
     10import javax.script.Invocable;
     11import javax.script.ScriptEngine;
     12import javax.script.ScriptEngineManager;
     13import javax.script.ScriptException;
     14
    1415/**
    1516 * Uses <a href="https://github.com/tyrasd/overpass-turbo/">Overpass Turbo</a> query wizard code
     
    1718 *
    1819 * Requires a JavaScript {@link ScriptEngine}.
     20 * @since 8684
    1921 */
    20 public class OverpassTurboQueryWizard {
     22public final class OverpassTurboQueryWizard {
    2123
    2224    private static OverpassTurboQueryWizard instance;
Note: See TracChangeset for help on using the changeset viewer.