Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

Location:
applications/editors/josm/plugins/alignways
Files:
5 edited

Legend:

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

    r29771 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is a template build file for a JOSM  plugin.
    4 **
    5 ** Maintaining versions
    6 ** ====================
    7 ** see README.template
    8 **
    9 ** Usage
    10 ** =====
    11 ** To build it run
    12 **
    13 **    > ant  dist
    14 **
    15 ** To install the generated plugin locally (in you default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration
    20 ** dialog. You have to check it in first.
    21 **
    22 ** Use the ant target 'publish' to check in the plugin and make it available to other
    23 ** JOSM users:
    24 **    set the properties commit.message and plugin.main.version
    25 ** and run
    26 **    > ant  publish
    27 **
    28 **
    29 -->
    302<project name="alignways" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="AlignWays: moved to Shift-Spacebar due to shortcut confilcts with core. A is too overloaded"/>
    33     <!--
    34         enter the *lowest* JOSM version this plugin is currently compatible
    35         with
    36     -->
    37     <property name="plugin.main.version" value="6082"/>
     5    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     6    <property name="plugin.main.version" value="6162"/>
    387    <!--
    398        ************************************************ ** should not be
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepAngles.java

    r27619 r29854  
    77
    88import java.util.ArrayList;
    9 import java.util.Collection;
    109import java.util.Map;
    1110
     
    251250        return AlignableStatus.ALGN_VALID;
    252251    }
    253 
    254 
    255 
    256 
    257     private boolean isReferredByNOtherWaySegments(Node node, int numWSeg) {
    258 
    259         Collection<WaySegment> coll_ws = algnSeg.getAdjacentWaySegments(node);
    260         if (coll_ws != null)
    261             return coll_ws.size() >= numWSeg;
    262             else
    263                 return false;
    264     }
    265 
    266252}
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepLength.java

    r27810 r29854  
    1313import javax.swing.Icon;
    1414import javax.swing.JOptionPane;
    15 import javax.swing.SwingConstants;
    1615
    1716import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysDialog.java

    r28624 r29854  
    66import static org.openstreetmap.josm.tools.I18n.tr;
    77
    8 import java.awt.BorderLayout;
    98import java.awt.Dimension;
    109import java.awt.FlowLayout;
     
    1716import javax.swing.BoxLayout;
    1817import javax.swing.ButtonGroup;
    19 import javax.swing.JCheckBoxMenuItem;
    2018import javax.swing.JLabel;
    2119import javax.swing.JPanel;
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysWhatsNewPanel.java

    r28420 r29854  
    3636     * always regenerated by the Form Editor.
    3737     */
    38     @SuppressWarnings("unchecked")
    3938    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    4039    private void initComponents() {
Note: See TracChangeset for help on using the changeset viewer.