Changeset 8685 in josm for trunk/src/org


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

see #11428 - fix checkstyle issues

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.