Changeset 30701 in osm for applications/editors


Ignore:
Timestamp:
2014-10-04T17:28:45+02:00 (10 years ago)
Author:
donvip
Message:

[josm_plugins] fix various compilation warnings

Location:
applications/editors/josm/plugins
Files:
49 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/grid/EleVertex.java

    r30344 r30701  
    1010
    1111public class EleVertex {
    12     private static final int NPOINTS = 3;
    13     private static final double MIN_DIST = 90;
    14 
    15     private double avrgEle = Double.NaN;
    16     private double area = Double.NaN;
    17     private final EleCoordinate[] points = new EleCoordinate[NPOINTS];
    18 
    19     public EleVertex(EleCoordinate p1, EleCoordinate p2, EleCoordinate p3) {
    20         points[0] = p1;
    21         points[1] = p2;
    22         points[2] = p3;
    23 
    24         // compute elevation
    25         double z = 0D;
    26         boolean eleValid = true;
    27         for (EleCoordinate point : points) {
    28             if (ElevationHelper.isValidElevation(p1.getEle())) {
    29                 z += point.getEle();
    30             } else {
    31                 eleValid = false;
    32                 break;
    33             }
    34         }
    35 
    36         if (eleValid) {
    37             avrgEle = z / NPOINTS;
    38         } else {
    39             avrgEle = ElevationHelper.NO_ELEVATION;
    40         }
    41 
    42         // compute the (approx.!) area of the vertex using heron's formula
    43         double a = p1.greatCircleDistance(p2);
    44         double b = p2.greatCircleDistance(p3);
    45         double c = p1.greatCircleDistance(p3);
    46 
    47         double s = (a + b + c) / 2D;
    48         double sq = s * (s - a) * (s - b) * (s - c);
    49         area = Math.sqrt(sq);
    50     }
    51 
    52     public List<EleVertex> divide() {
    53         TriangleEdge[] edges = new TriangleEdge[NPOINTS];
    54 
    55         int k = 0;
    56         for (int i = 0; i < points.length; i++) {
    57             EleCoordinate c1 = points[i];
    58 
    59             for (int j = i + 1; j < points.length; j++) {
    60                 EleCoordinate c2 = points[j];
    61 
    62                 edges[k++] = new TriangleEdge(i, j, c1.greatCircleDistance(c2));
    63             }
    64         }
    65 
    66         /*
     12        private static final int NPOINTS = 3;
     13        private static final double MIN_DIST = 90;
     14
     15        private double avrgEle = Double.NaN;
     16        private double area = Double.NaN;
     17        private final EleCoordinate[] points = new EleCoordinate[NPOINTS];
     18
     19        public EleVertex(EleCoordinate p1, EleCoordinate p2, EleCoordinate p3) {
     20                points[0] = p1;
     21                points[1] = p2;
     22                points[2] = p3;
     23
     24                // compute elevation
     25                double z = 0D;
     26                boolean eleValid = true;
     27                for (EleCoordinate point : points) {
     28                        if (ElevationHelper.isValidElevation(p1.getEle())) {
     29                                z += point.getEle();
     30                        } else {
     31                                eleValid = false;
     32                                break;
     33                        }
     34                }
     35
     36                if (eleValid) {
     37                        avrgEle = z / NPOINTS;
     38                } else {
     39                        avrgEle = ElevationHelper.NO_ELEVATION;
     40                }
     41
     42                // compute the (approx.!) area of the vertex using heron's formula
     43                double a = p1.greatCircleDistance(p2);
     44                double b = p2.greatCircleDistance(p3);
     45                double c = p1.greatCircleDistance(p3);
     46
     47                double s = (a + b + c) / 2D;
     48                double sq = s * (s - a) * (s - b) * (s - c);
     49                area = Math.sqrt(sq);
     50        }
     51
     52        public List<EleVertex> divide() {
     53                TriangleEdge[] edges = new TriangleEdge[NPOINTS];
     54
     55                int k = 0;
     56                for (int i = 0; i < points.length; i++) {
     57                        EleCoordinate c1 = points[i];
     58
     59                        for (int j = i + 1; j < points.length; j++) {
     60                                EleCoordinate c2 = points[j];
     61
     62                                edges[k++] = new TriangleEdge(i, j, c1.greatCircleDistance(c2));
     63                        }
     64                }
     65
     66                /*
    6767    for (int i = 0; i < edges.length; i++) {
    6868        TriangleEdge triangleEdge = edges[i];
     
    7070    }*/
    7171
    72         // sort by distance
    73         Arrays.sort(edges);
    74         // pick the longest edge
    75         TriangleEdge longest = edges[0];
    76 
    77 
    78         //System.out.println("Longest " + longest);
    79         EleCoordinate pI = points[longest.getI()];
    80         EleCoordinate pJ = points[longest.getJ()];
    81         EleCoordinate pK = points[longest.getK()];
    82         EleCoordinate newP = getMid(pI, pJ);
    83         /*
     72                // sort by distance
     73                Arrays.sort(edges);
     74                // pick the longest edge
     75                TriangleEdge longest = edges[0];
     76
     77
     78                //System.out.println("Longest " + longest);
     79                EleCoordinate pI = points[longest.getI()];
     80                EleCoordinate pJ = points[longest.getJ()];
     81                EleCoordinate pK = points[longest.getK()];
     82                EleCoordinate newP = getMid(pI, pJ);
     83                /*
    8484    System.out.println(pI);
    8585    System.out.println(pJ);
    8686    System.out.println(pK);
    8787    System.out.println(newP);
    88         */
    89         List<EleVertex> res = new ArrayList<EleVertex>();
    90         res.add(new EleVertex(pI, pK, newP));
    91         res.add(new EleVertex(pJ, pK, newP));
    92 
    93         return res;
    94     }
    95 
    96     /**
    97     * Checks if vertex requires further processing or is finished. Currently this
    98     * method returns <code>true</code>, if the average deviation is < 5m
    99     *
    100     * @return true, if is finished
    101     */
    102     public boolean isFinished() {
    103         double z = 0D;
     88                */
     89                List<EleVertex> res = new ArrayList<EleVertex>();
     90                res.add(new EleVertex(pI, pK, newP));
     91                res.add(new EleVertex(pJ, pK, newP));
     92
     93                return res;
     94        }
     95
     96        /**
     97        * Checks if vertex requires further processing or is finished. Currently this
     98        * method returns <code>true</code>, if the average deviation is < 5m
     99        *
     100        * @return true, if is finished
     101        */
     102        public boolean isFinished() {
     103                /*double z = 0D;
    104104        double avrgEle = getEle();
    105105
    106106        for (EleCoordinate point : points) {
    107107            z += (avrgEle - point.getEle()) * (avrgEle - point.getEle());
    108         }
    109 
    110         // TODO: Check for proper limit
    111         return /*z < 75 || */getArea() < (30 * 30); // = 3 * 25
    112     }
    113 
    114     /**
    115     * Gets the approximate area of this vertex in square meters.
    116     *
    117     * @return the area
    118     */
    119     public double getArea() {
    120         return area;
    121     }
    122 
    123     /**
    124     * Gets the (linear interpolated) mid point of c1 and c2.
    125     *
    126     * @param c1 the first coordinate
    127     * @param c2 the second coordinate
    128     * @return the mid point
    129     */
    130     public EleCoordinate getMid(EleCoordinate c1, EleCoordinate c2) {
    131         double x = (c1.getX() + c2.getX()) / 2.0;
    132         double y = (c1.getY() + c2.getY()) / 2.0;
    133 
    134         double z = (c1.getEle() + c2.getEle()) / 2.0;
    135         if (c1.greatCircleDistance(c2) > MIN_DIST) {
    136             double hgtZ = ElevationHelper.getSrtmElevation(new LatLon(y, x));
    137 
    138             if (ElevationHelper.isValidElevation(hgtZ)) {
    139                 z = hgtZ;
    140             }
    141         }
    142 
    143         return new EleCoordinate(y, x, z);
    144     }
    145 
    146     /**
    147     * Gets the coordinate for the given index.
    148     *
    149     * @param index the index between 0 and NPOINTS:
    150     * @return the elevation coordinate instance
    151     * @throws IllegalArgumentException, if index is invalid
    152     */
    153     public EleCoordinate get(int index) {
    154         if (index < 0 || index >= NPOINTS) throw new IllegalArgumentException("Invalid index: " + index);
    155 
    156         return points[index];
    157     }
    158 
    159     /**
    160     * Gets the average elevation of this vertex.
    161     *
    162     * @return the ele
    163     */
    164     public double getEle() {
    165 
    166         return avrgEle;
    167     }
    168 
    169     @Override
    170     public String toString() {
    171         return "EleVertex [avrgEle=" + avrgEle + ", area=" + area + ", points="
    172                 + Arrays.toString(points) + "]";
    173     }
    174 
    175 
    176 
    177 
    178     class TriangleEdge implements Comparable<TriangleEdge> {
    179         private final int i;
    180         private final int j;
    181         private final double dist;
    182 
    183         public TriangleEdge(int i, int j, double dist) {
    184             super();
    185             this.i = i;
    186             this.j = j;
    187             this.dist = dist;
    188         }
    189 
    190         public int getI() {
    191             return i;
    192         }
    193 
    194         public int getJ() {
    195             return j;
    196         }
    197 
    198         public int getK() {
    199             if (i == 0) {
    200                 return j == 1 ? 2 : 1;
    201             } else if (i == 1) {
    202                 return j == 0 ? 2 : 0;
    203             } else {
    204                 return j == 0 ? 1 : 0;
    205             }
    206         }
    207 
    208         public double getDist() {
    209             return dist;
    210         }
    211 
    212         @Override
    213         public int compareTo(TriangleEdge o) {
    214             return (int) (o.getDist() - dist);
    215         }
    216 
    217         @Override
    218         public String toString() {
    219             return "TriangleEdge [i=" + i + ", j=" + j + ", dist=" + dist + "]";
    220         }
    221     }
     108        }*/
     109
     110                // TODO: Check for proper limit
     111                return /*z < 75 || */getArea() < (30 * 30); // = 3 * 25
     112        }
     113
     114        /**
     115        * Gets the approximate area of this vertex in square meters.
     116        *
     117        * @return the area
     118        */
     119        public double getArea() {
     120                return area;
     121        }
     122
     123        /**
     124        * Gets the (linear interpolated) mid point of c1 and c2.
     125        *
     126        * @param c1 the first coordinate
     127        * @param c2 the second coordinate
     128        * @return the mid point
     129        */
     130        public EleCoordinate getMid(EleCoordinate c1, EleCoordinate c2) {
     131                double x = (c1.getX() + c2.getX()) / 2.0;
     132                double y = (c1.getY() + c2.getY()) / 2.0;
     133
     134                double z = (c1.getEle() + c2.getEle()) / 2.0;
     135                if (c1.greatCircleDistance(c2) > MIN_DIST) {
     136                        double hgtZ = ElevationHelper.getSrtmElevation(new LatLon(y, x));
     137
     138                        if (ElevationHelper.isValidElevation(hgtZ)) {
     139                                z = hgtZ;
     140                        }
     141                }
     142
     143                return new EleCoordinate(y, x, z);
     144        }
     145
     146        /**
     147        * Gets the coordinate for the given index.
     148        *
     149        * @param index the index between 0 and NPOINTS:
     150        * @return the elevation coordinate instance
     151        * @throws IllegalArgumentException, if index is invalid
     152        */
     153        public EleCoordinate get(int index) {
     154                if (index < 0 || index >= NPOINTS) throw new IllegalArgumentException("Invalid index: " + index);
     155
     156                return points[index];
     157        }
     158
     159        /**
     160        * Gets the average elevation of this vertex.
     161        *
     162        * @return the ele
     163        */
     164        public double getEle() {
     165
     166                return avrgEle;
     167        }
     168
     169        @Override
     170        public String toString() {
     171                return "EleVertex [avrgEle=" + avrgEle + ", area=" + area + ", points="
     172                                + Arrays.toString(points) + "]";
     173        }
     174
     175
     176
     177
     178        class TriangleEdge implements Comparable<TriangleEdge> {
     179                private final int i;
     180                private final int j;
     181                private final double dist;
     182
     183                public TriangleEdge(int i, int j, double dist) {
     184                        super();
     185                        this.i = i;
     186                        this.j = j;
     187                        this.dist = dist;
     188                }
     189
     190                public int getI() {
     191                        return i;
     192                }
     193
     194                public int getJ() {
     195                        return j;
     196                }
     197
     198                public int getK() {
     199                        if (i == 0) {
     200                                return j == 1 ? 2 : 1;
     201                        } else if (i == 1) {
     202                                return j == 0 ? 2 : 0;
     203                        } else {
     204                                return j == 0 ? 1 : 0;
     205                        }
     206                }
     207
     208                public double getDist() {
     209                        return dist;
     210                }
     211
     212                @Override
     213                public int compareTo(TriangleEdge o) {
     214                        return (int) (o.getDist() - dist);
     215                }
     216
     217                @Override
     218                public String toString() {
     219                        return "TriangleEdge [i=" + i + ", j=" + j + ", dist=" + dist + "]";
     220                }
     221        }
    222222}
  • applications/editors/josm/plugins/NanoLog/src/nanolog/Correlator.java

    r30527 r30701  
    7373    public static void correlate( List<NanoLogEntry> entries, GpxData data, long offset ) {
    7474        List<NanoLogEntry> sortedEntries = new ArrayList<NanoLogEntry>(entries);
    75         int ret = 0;
     75        //int ret = 0;
    7676        PrimaryDateParser dateParser = new PrimaryDateParser();
    7777        Collections.sort(sortedEntries);
     
    8787                        try {
    8888                            long curWpTime = dateParser.parse(curWpTimeStr).getTime() + offset;
    89                             ret += matchPoints(sortedEntries, prevWp, prevWpTime, curWp, curWpTime, offset);
     89                            /*ret +=*/ matchPoints(sortedEntries, prevWp, prevWpTime, curWp, curWpTime, offset);
    9090
    9191                            prevWp = curWp;
  • applications/editors/josm/plugins/NanoLog/src/nanolog/NanoLogEntry.java

    r30491 r30701  
    11package nanolog;
    22
    3 import java.awt.*;
    4 import java.util.*;
    5 import org.openstreetmap.josm.Main;
    6 import org.openstreetmap.josm.data.Bounds;
     3import java.util.Date;
     4
    75import org.openstreetmap.josm.data.coor.LatLon;
    8 import org.openstreetmap.josm.gui.MapView;
    96
    107/**
  • applications/editors/josm/plugins/NanoLog/src/nanolog/NanoLogLayer.java

    r30491 r30701  
    305305        private boolean toZero;
    306306
    307         public CorrelateEntries() {
    308             this(false);
    309         }
    310 
    311307        public CorrelateEntries( boolean toZero ) {
    312308            super(toZero ? tr("Correlate with GPX...") : tr("Put on GPX..."), "nanolog/correlate", tr("Correlate entries with GPS trace"), null, false);
  • applications/editors/josm/plugins/NanoLog/src/nanolog/NanoLogPanel.java

    r30491 r30701  
    11package nanolog;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.awt.Rectangle;
    46import java.text.SimpleDateFormat;
    5 import java.util.*;
    6 import javax.swing.*;
     7import java.util.ArrayList;
     8import java.util.List;
     9
     10import javax.swing.AbstractListModel;
     11import javax.swing.JList;
     12
    713import nanolog.NanoLogLayer.NanoLogLayerListener;
     14
    815import org.openstreetmap.josm.Main;
    916import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    1017import org.openstreetmap.josm.gui.dialogs.ToggleDialog;
    1118import org.openstreetmap.josm.gui.layer.Layer;
    12 import static org.openstreetmap.josm.tools.I18n.tr;
    13 import org.openstreetmap.josm.tools.Shortcut;
    1419
    1520/**
  • applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/parser/SyntaxException.java

    r30116 r30701  
    55    private int startColumn;
    66    private int endColumn;
    7     private String info;
    87
    98    public int getStartColumn() {
     
    1918        this.startColumn = startColumn;
    2019        this.endColumn = endColumn;
    21         this.info = info;
    2220    }
    2321}
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/GeoFabrikWFSClient.java

    r28935 r30701  
    3030public class GeoFabrikWFSClient {
    3131
    32         private Bounds bbox;
     32        //private Bounds bbox;
    3333        private DataStore data;
    3434        private boolean bInitialized = false;
    3535
    3636        public GeoFabrikWFSClient(Bounds bounds) {
    37                 bbox = bounds;
     37                //bbox = bounds;
    3838        }
    3939
     
    124124         * @param args
    125125         */
    126         @SuppressWarnings("deprecation")
    127126        public static void main(String[] args) {
    128127
     
    154153                // }
    155154        }
    156 
    157155}
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/gui/OsmInspectorBugInfoDialog.java

    r29448 r30701  
    2424                ListSelectionListener, LayerChangeListener, MouseListener {
    2525
    26         /**
    27      *
    28      */
    29     private static final long serialVersionUID = 7730268317164906579L;
    30     private OsmInspectorLayer layer;
     26    //private OsmInspectorLayer layer;
    3127        private JTextPane bugTextArea;
    32        
    3328
    3429        /**
     
    4237                bugTextArea.setText("This is a demo");
    4338                this.add(bugTextArea);
    44                
    4539        }
    46 
    4740
    4841        public OsmInspectorBugInfoDialog(OsmInspectorLayer layer) {
     
    5548                                true // default is "show dialog"
    5649                );
    57                 this.layer = layer;
     50                //this.layer = layer;
    5851                buildContentPanel();
    5952        }
    6053
    6154        public void updateDialog(OsmInspectorLayer l) {
    62                 this.layer = l;
     55                //this.layer = l;
    6356        }
    6457       
     
    6760        }
    6861       
    69         @Override
     62        /*@Override
    7063        public void showNotify() {
    7164                super.showNotify();
    72         }
     65        }*/
    7366
    7467        @Override
    7568        public void hideNotify() {
    7669                if (dialogsPanel != null) {
    77                         // TODO Auto-generated method stub
    7870                        super.hideNotify();
    7971                }
    8072        }
    8173
    82 
    8374        @Override
    8475        public void mouseClicked(MouseEvent e) {
    85                 // TODO Auto-generated method stub
    86 
    8776        }
    8877
    8978        @Override
    9079        public void mouseEntered(MouseEvent e) {
    91                 // TODO Auto-generated method stub
    92 
    9380        }
    9481
    9582        @Override
    9683        public void mouseExited(MouseEvent e) {
    97                 // TODO Auto-generated method stub
    98 
    9984        }
    10085
    10186        @Override
    10287        public void mousePressed(MouseEvent e) {
    103                 // TODO Auto-generated method stub
    104 
    10588        }
    10689
    10790        @Override
    10891        public void mouseReleased(MouseEvent e) {
    109                 // TODO Auto-generated method stub
    110 
    11192        }
    11293
    11394        @Override
    11495        public void activeLayerChange(Layer oldLayer, Layer newLayer) {
    115                 if(newLayer instanceof OsmInspectorLayer) {
     96                /*if(newLayer instanceof OsmInspectorLayer) {
    11697                        this.layer = (OsmInspectorLayer) newLayer;
    117                 }
    118 
     98                }*/
    11999        }
    120100
     
    129109        @Override
    130110        public void valueChanged(ListSelectionEvent e) {
    131                 System.out.println(e.getFirstIndex());
     111                //System.out.println(e.getFirstIndex());
    132112        }
    133 
    134113}
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java

    r30532 r30701  
    227227            while ((ln = in.readLine()) != null) {
    228228                lines += ln;
     229            }
     230            if (Main.isDebugEnabled()) {
     231                Main.debug(lines);
    229232            }
    230233        } catch (MalformedURLException e) {
     
    544547    }
    545548
    546     private double tryParseDouble(String str) {
    547         try {
    548             return Double.parseDouble(str);
    549         } catch (NumberFormatException e) {
    550             return 0;
    551         }
    552     }
    553 
    554549    private void checkLayerDuplicates(WMSLayer wmsLayer) throws DuplicateLayerException {
    555550        if (Main.map != null) {
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreSessionImporter.java

    r29922 r30701  
    55import java.io.File;
    66import java.io.IOException;
    7 import java.io.InputStream;
    8 import java.net.URI;
    9 import java.net.URISyntaxException;
    10 import java.net.URL;
    117import java.net.URLDecoder;
    12 import java.net.URLEncoder;
    138
    149import javax.xml.xpath.XPath;
     
    2015import org.openstreetmap.josm.gui.layer.Layer;
    2116import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    22 import org.openstreetmap.josm.io.GpxImporter;
    2317import org.openstreetmap.josm.io.IllegalDataException;
    2418import org.openstreetmap.josm.io.session.SessionLayerImporter;
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/ImageModifier.java

    r23190 r30701  
    1515     */
    1616    //public static int cadastreBackgroundTransp = 1; // original white but transparent
    17 
    18     private static final long serialVersionUID = 1L;
    1917
    2018    protected int parcelColor = Color.RED.getRGB();
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java

    r29101 r30701  
    22package cadastre_fr;
    33
     4import static org.openstreetmap.josm.tools.I18n.marktr;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    5 import static org.openstreetmap.josm.tools.I18n.marktr;
    66
    77import java.awt.event.ActionEvent;
    88import java.awt.event.KeyEvent;
    9 
    10 import javax.swing.JOptionPane;
    119
    1210import org.openstreetmap.josm.Main;
     
    1412import org.openstreetmap.josm.tools.Shortcut;
    1513
     14/**
     15 * Action calling the wms grabber for cadastre.gouv.fr
     16 */
    1617public class MenuActionGrab extends JosmAction {
    17 
    18     /**
    19      * Action calling the wms grabber for cadastre.gouv.fr
    20      */
    21     private static final long serialVersionUID = 1L;
    2218
    2319    public static String name = marktr("Cadastre grab");
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionRefineGeoRef.java

    r29722 r30701  
    11package cadastre_fr;
    22
     3import static org.openstreetmap.josm.tools.I18n.marktr;
    34import static org.openstreetmap.josm.tools.I18n.tr;
    4 import static org.openstreetmap.josm.tools.I18n.marktr;
    55
    66import java.awt.event.ActionEvent;
    77
    8 import javax.swing.JOptionPane;
    9 
    10 import org.openstreetmap.josm.Main;
    118import org.openstreetmap.josm.actions.JosmAction;
    129
    13 @SuppressWarnings("serial")
    1410public class MenuActionRefineGeoRef extends JosmAction {
    1511
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSDownloadAction.java

    r24907 r30701  
    1414
    1515public class WMSDownloadAction /*extends JosmAction */{
    16 
    17     private static final long serialVersionUID = 1L;
    1816
    1917//    public WMSDownloadAction(String layerName) {
  • applications/editors/josm/plugins/gpsblam/.settings/org.eclipse.jdt.core.prefs

    r30444 r30701  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
    410org.eclipse.jdt.core.compiler.compliance=1.7
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.7
  • applications/editors/josm/plugins/gpsblam/src/org/openstreetmap/josm/plugins/gpsblam/GPSBlamInputData.java

    r28741 r30701  
    1919import java.util.Calendar;
    2020import java.util.Collection;
    21 import java.util.Date;
    2221import java.util.GregorianCalendar;
    2322import java.util.HashSet;
  • applications/editors/josm/plugins/gpsblam/src/org/openstreetmap/josm/plugins/gpsblam/GPSBlamMarker.java

    r28741 r30701  
    3535        private CachedLatLon hair1Coord1, hair1Coord2, hair2Coord1, hair2Coord2;
    3636        private CachedLatLon ellipseCoord1, ellipseCoord2, ellipseCoord3; // 1=TL 2=TR 3=BL, where main axis = +R, minor +U
    37         private int ndays;
    3837        static final double fac = 2.45; // 2.45 gives 95% CI for 2D
    3938       
  • applications/editors/josm/plugins/imagery_offset_db/.settings/org.eclipse.jdt.core.prefs

    r30531 r30701  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
    410org.eclipse.jdt.core.compiler.compliance=1.7
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.7
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/GetImageryOffsetAction.java

    r29433 r30701  
    114114     */
    115115    private class DownloadOffsetsTask extends SimpleOffsetQueryTask {
    116         private ImageryLayer layer;
    117116        private List<ImageryOffsetBase> offsets;
    118117
     
    136135                throw new IllegalArgumentException(e);
    137136            }
    138             this.layer = layer;
    139137        }
    140138
  • applications/editors/josm/plugins/imagewaypoint/.settings/org.eclipse.jdt.core.prefs

    r30416 r30701  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
    410org.eclipse.jdt.core.compiler.compliance=1.7
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.7
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointDialog.java

    r29854 r30701  
    9898
    9999    private static final class PreviousAction extends JosmAction {
    100     private static final long serialVersionUID = -7899209365124237890L;
    101 
    102     private final ImageWayPointDialog dialog;
    103 
    104     public PreviousAction(final ImageWayPointDialog dialog) {
     100
     101    public PreviousAction() {
    105102        super(tr("Previous"),
    106103        null,
     
    108105        null,
    109106        false);
    110         this.dialog = dialog;
    111107    }
    112108
     
    119115
    120116    private static final class NextAction extends JosmAction {
    121     private static final long serialVersionUID = 176134010956760988L;
    122 
    123     private final ImageWayPointDialog dialog;
    124 
    125     public NextAction(final ImageWayPointDialog dialog) {
     117
     118    public NextAction() {
    126119        super(tr("Next"), null, tr("Next image"), null, false);
    127         this.dialog = dialog;
    128120    }
    129121
     
    136128
    137129    private static final class RotateLeftAction extends JosmAction {
    138     private static final long serialVersionUID = 3536922796446259943L;
    139 
    140     private final ImageWayPointDialog dialog;
    141 
    142     public RotateLeftAction(final ImageWayPointDialog dialog) {
     130
     131    public RotateLeftAction() {
    143132        super(tr("Rotate left"),
    144133        null,
     
    146135        null,
    147136        false);
    148         this.dialog = dialog;
    149137    }
    150138
     
    155143
    156144    private static final class RotateRightAction extends JosmAction {
    157     private static final long serialVersionUID = 1760186810341888993L;
    158 
    159     private final ImageWayPointDialog dialog;
    160 
    161     public RotateRightAction(final ImageWayPointDialog dialog) {
     145
     146    public RotateRightAction() {
    162147        super(tr("Rotate right"),
    163148        null,
     
    165150        null,
    166151        false);
    167         this.dialog = dialog;
    168152    }
    169153
     
    191175        200);
    192176
    193     this.previousAction = new PreviousAction(this);
    194     this.nextAction = new NextAction(this);
    195     this.rotateLeftAction = new RotateLeftAction(this);
    196     this.rotateRightAction = new RotateRightAction(this);
     177    this.previousAction = new PreviousAction();
     178    this.nextAction = new NextAction();
     179    this.rotateLeftAction = new RotateLeftAction();
     180    this.rotateRightAction = new RotateRightAction();
    197181
    198182    final JButton previousButton = new JButton(this.previousAction);
  • applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode/InfoMode.java

    r27852 r30701  
    4747    private MapView mv;
    4848    private String statusText;
    49     private boolean drawing;
    50     private boolean ctrl;
     49    //private boolean drawing;
     50    //private boolean ctrl;
    5151    private boolean shift;
    52     private boolean oldCtrl;
    53     private boolean oldShift;
     52    //private boolean oldCtrl;
     53    //private boolean oldShift;
    5454    private EastNorth pos;
    5555    private WayPoint wpOld;
     
    195195    @Override
    196196    protected void updateKeyModifiers(InputEvent e) {
    197         oldCtrl = ctrl;
    198         oldShift = shift;
     197        //oldCtrl = ctrl;
     198        //oldShift = shift;
    199199        ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0;
    200200        shift = (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0;
     
    213213        if (Main.map!=null) Main.map.mapView.repaint();
    214214    }
    215     private void setStatusLine(String tr) {
     215    /*private void setStatusLine(String tr) {
    216216        statusText=tr;
    217217        updateStatusLine();
    218     }
     218    }*/
    219219
    220220    private synchronized void filterTracks() {
  • applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode/InfoPanel.java

    r27492 r30701  
    11package org.openstreetmap.josm.plugins.infomode;
    22
    3 import java.awt.Color;
    43import java.awt.event.MouseEvent;
    54import java.util.HashSet;
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/administration/GeoFlaHandler.java

    r30340 r30701  
    178178       
    179179        private Pair<String, URL> getGeoflaURL(String name, String urlSuffix) throws MalformedURLException {
    180                 return new Pair<String, URL>(name, new URL("http://professionnels.ign.fr/sites/default/files/"+urlSuffix));
     180                return new Pair<>(name, new URL("http://professionnels.ign.fr/sites/default/files/"+urlSuffix));
    181181        }
    182182
    183183        @Override
    184184        public List<Pair<String, URL>> getDataURLs() {
    185                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     185                List<Pair<String, URL>> result = new ArrayList<>();
    186186                try {
    187187                        result.add(getGeoflaURL("Départements France métropolitaine et Corse", "GEOFLADept_FR_Corse_AV_L93.zip"));
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/agriculture/RegistreParcellaireHandler.java

    r30340 r30701  
    117117
    118118        private Pair<String, URL> getRpgURL(String number, String name) throws MalformedURLException {
    119                 return new Pair<String, URL>(number+" - "+name, new URL("http://www.data.gouv.fr/var/download/ign/RPG_2010_"+number+".ZIP"));
     119                return new Pair<>(number+" - "+name, new URL("http://www.data.gouv.fr/var/download/ign/RPG_2010_"+number+".ZIP"));
    120120        }
    121121       
    122122        @Override
    123123        public List<Pair<String, URL>> getDataURLs() {
    124                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     124                List<Pair<String, URL>> result = new ArrayList<>();
    125125                try {
    126126                        for (FrenchAdministrativeUnit dpt : FrenchAdministrativeUnit.allDepartments) {
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/ecologie/AssainissementHandler.java

    r30340 r30701  
    3838        @Override
    3939        public List<Pair<String, URL>> getDataURLs() {
    40                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     40                List<Pair<String, URL>> result = new ArrayList<>();
    4141                try {
    42                         result.add(new Pair<String, URL>("Données 2009", new URL("http://www.assainissement.developpement-durable.gouv.fr/telecharger2.php")));
    43                         result.add(new Pair<String, URL>("Données 2010", new URL("http://www.assainissement.developpement-durable.gouv.fr/telecharger2_2010.php")));
    44                         result.add(new Pair<String, URL>("Données 2011", new URL("http://www.assainissement.developpement-durable.gouv.fr/telecharger2_2011.php")));
     42                        result.add(new Pair<>("Données 2009", new URL("http://www.assainissement.developpement-durable.gouv.fr/telecharger2.php")));
     43                        result.add(new Pair<>("Données 2010", new URL("http://www.assainissement.developpement-durable.gouv.fr/telecharger2_2010.php")));
     44                        result.add(new Pair<>("Données 2011", new URL("http://www.assainissement.developpement-durable.gouv.fr/telecharger2_2011.php")));
    4545                } catch (MalformedURLException e) {
    4646                        e.printStackTrace();
     
    5353            private Node nodeWithKeys;
    5454           
    55             private final Set<String> interestingKeys = new HashSet<String>();
     55            private final Set<String> interestingKeys = new HashSet<>();
    5656           
    5757        public InternalOdsHandler() {
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/ecologie/ForetsPubliquesHandler.java

    r30340 r30701  
    109109        @Override
    110110        public List<Pair<String, URL>> getDataURLs() {
    111                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     111                List<Pair<String, URL>> result = new ArrayList<>();
    112112                try {
    113113                        for (FrenchAdministrativeUnit region : FrenchAdministrativeUnit.allRegions) {
     
    123123
    124124        private Pair<String, URL> getForetURL(String code, String regionName) throws MalformedURLException {
    125                 return new Pair<String, URL>("PublicForests_"+regionName, new URL(FRENCH_PORTAL+"var/download/"+"for_publ_v2011_reg"+code+".zip"));
     125                return new Pair<>("PublicForests_"+regionName, new URL(FRENCH_PORTAL+"var/download/"+"for_publ_v2011_reg"+code+".zip"));
    126126        }
    127127}
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/ecologie/InventaireForestierNationalHandler.java

    r30340 r30701  
    8181        @Override
    8282        public List<Pair<String, URL>> getDataURLs() {
    83                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     83                List<Pair<String, URL>> result = new ArrayList<>();
    8484                try {
    8585                        for (int year = 2010; year >= 2005; year--) {
     
    9494       
    9595        private Pair<String, URL> getIfnURL(int year, String name, String type) throws MalformedURLException {
    96                 return new Pair<String, URL>(name+" "+year, new URL("http://www.ifn.fr/spip/IMG/csv/placettes_"+type+"_"+year+".csv"));
     96                return new Pair<>(name+" "+year, new URL("http://www.ifn.fr/spip/IMG/csv/placettes_"+type+"_"+year+".csv"));
    9797        }
    9898}
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/hydrologie/EauxDeSurfaceHandler.java

    r30340 r30701  
    9494        @Override
    9595        public List<Pair<String, URL>> getDataURLs() {
    96                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     96                List<Pair<String, URL>> result = new ArrayList<>();
    9797                try {
    9898                        for (WaterAgency wa : waterAgencies) {
     
    106106
    107107        private Pair<String, URL> getDownloadURL(WaterAgency a) throws MalformedURLException {
    108                 return new Pair<String, URL>("SurfaceWater_"+a.name, new URL("http://www.rapportage.eaufrance.fr/sites/default/files/SIG/FR"+a.code+"_SW.zip"));
     108                return new Pair<>("SurfaceWater_"+a.name, new URL("http://www.rapportage.eaufrance.fr/sites/default/files/SIG/FR"+a.code+"_SW.zip"));
    109109        }
    110110       
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/transport/Route500Handler.java

    r30340 r30701  
    4444    @Override
    4545    public List<Pair<String, URL>> getDataURLs() {
    46         List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     46        List<Pair<String, URL>> result = new ArrayList<>();
    4747        try {
    4848            for (FrenchAdministrativeUnit dpt : FrenchAdministrativeUnit.allDepartments) {
     
    5858
    5959    private Pair<String, URL> getRoute500URL(String code, String name) throws MalformedURLException {
    60         return new Pair<String, URL>(name, new URL(OSMFR_PORTAL+"ROUTE500_1-1_SHP_LAMB93_D"+code+"_2012-11-21.7z"));
     60        return new Pair<>(name, new URL(OSMFR_PORTAL+"ROUTE500_1-1_SHP_LAMB93_D"+code+"_2012-11-21.7z"));
    6161    }
    6262}
  • applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/datasets/LeMansDataSetHandler.java

    r30340 r30701  
    7575        @Override
    7676        public List<Pair<String, URL>> getDataURLs() {
    77                 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
     77                List<Pair<String, URL>> result = new ArrayList<>();
    7878                try {
    79                         if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair<String, URL>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid)));
    80                         if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair<String, URL>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid)));
     79                        if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair<>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid)));
     80                        if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair<>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid)));
    8181                } catch (MalformedURLException e) {
    8282                        e.printStackTrace();
  • applications/editors/josm/plugins/opendata/modules/fr.paris/src/org/openstreetmap/josm/plugins/opendata/modules/fr/paris/datasets/urbanisme/SanisettesHandler.java

    r30340 r30701  
    5050        public void updateDataSet(DataSet ds) {
    5151               
    52                 List<Way> sourceWays = new ArrayList<Way>(ds.getWays());
    53                 List<List<Way>> waysToCombine = new ArrayList<List<Way>>();
     52                List<Way> sourceWays = new ArrayList<>(ds.getWays());
     53                List<List<Way>> waysToCombine = new ArrayList<>();
    5454               
    5555                for (Iterator<Way> it = sourceWays.iterator(); it.hasNext();) {
     
    5757                        it.remove();
    5858                        if (!wayProcessed(w, waysToCombine)) {
    59                                 List<Way> list = new ArrayList<Way>();
     59                                List<Way> list = new ArrayList<>();
    6060                                list.add(w);
    6161                                boolean finished = false;
    62                                 List<Way> sourceWays2 = new ArrayList<Way>(sourceWays);
     62                                List<Way> sourceWays2 = new ArrayList<>(sourceWays);
    6363                                while (!finished) {
    6464                                        int before = list.size();
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/ToulouseModule.java

    r30340 r30701  
    113113   
    114114    private static final Collection<Relation> getBoundaries(int admin_level) {
    115         Collection<Relation> result = new TreeSet<Relation>(new Comparator<Relation>() {
     115        Collection<Relation> result = new TreeSet<>(new Comparator<Relation>() {
    116116            @Override
    117117            public int compare(Relation o1, Relation o2) {
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport/PistesCyclablesHandler.java

    r30340 r30701  
    1818public class PistesCyclablesHandler extends ToulouseDataSetHandler {
    1919
    20     protected final Map<String, Collection<String>> map = new HashMap<String, Collection<String>>();
     20    protected final Map<String, Collection<String>> map = new HashMap<>();
    2121   
    2222    private String streetField;
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/urbanisme/NumerosRueHandler.java

    r30340 r30701  
    2727    @Override
    2828    public void updateDataSet(DataSet ds) {
    29         Map<String, Relation> associatedStreets = new HashMap<String, Relation>();
     29        Map<String, Relation> associatedStreets = new HashMap<>();
    3030       
    3131        for (Node n : ds.getNodes()) {
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/urbanisme/VoirieHandler.java

    r30340 r30701  
    1717public class VoirieHandler extends ToulouseDataSetHandler {
    1818
    19     protected final Map<String, Collection<String>> map = new HashMap<String, Collection<String>>();
     19    protected final Map<String, Collection<String>> map = new HashMap<>();
    2020   
    2121    private String streetField;
     
    6565    @Override
    6666    public void updateDataSet(DataSet ds) {
    67         Map<String, Relation> associatedStreets = new HashMap<String, Relation>();
     67        Map<String, Relation> associatedStreets = new HashMap<>();
    6868       
    6969        for (Way w : ds.getWays()) {
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/GraphicsProcessor.java

    r25349 r30701  
    117117                                //fill all
    118118                        }
    119                         else
    120                         {
     119                        else {
    121120                                //Unexpected operation
    122                                 int a = 10;
    123                                 a++;
    124121                        }
    125122
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PdfBoxParser.java

    r25349 r30701  
    2222        }
    2323
    24         @SuppressWarnings("unchecked")
    2524        public void parse(File file, int maxPaths, ProgressMonitor monitor) throws Exception
    2625        {
     
    3332                }
    3433
    35                 List allPages = document.getDocumentCatalog().getAllPages();
     34                List<?> allPages = document.getDocumentCatalog().getAllPages();
    3635
    3736                if (allPages.size() != 1) {
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterAction.java

    r29854 r30701  
    2424import org.openstreetmap.josm.actions.JosmAction;
    2525import org.openstreetmap.josm.data.coor.LatLon;
    26 import org.openstreetmap.josm.data.osm.DataSet;
    2726import org.openstreetmap.josm.data.osm.Node;
    2827import org.openstreetmap.josm.data.osm.OsmPrimitive;
     
    6867  }
    6968
    70   public void actionPerformed(ActionEvent event)
    71   {
    72     DataSet mainDataSet = Main.main.getCurrentDataSet();
     69  public void actionPerformed(ActionEvent event) {
    7370
    7471    if (dialog == null)
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/AddRemoveMemberAction.java

    r29344 r30701  
    3333 */
    3434public class AddRemoveMemberAction extends JosmAction implements ChosenRelationListener {
    35     private static final String ACTION_NAME = "Add/remove member";
    3635    private ChosenRelation rel;
    3736    private SortAndFixAction sortAndFix;
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/CreateMultipolygonAction.java

    r30587 r30701  
    2424 */
    2525public class CreateMultipolygonAction extends JosmAction {
    26     private static final String ACTION_NAME = "Create relation";
    2726    private static final String PREF_MULTIPOLY = "reltoolbox.multipolygon.";
    2827    protected ChosenRelation chRel;
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java

    r29124 r30701  
    253253        double startAngle = realA1;
    254254        // Transform the angles to get a consistent starting point
    255         double a1 = 0;
     255        //double a1 = 0;
    256256        double a2 = normalizeAngle(realA2 - startAngle);
    257257        double a3 = normalizeAngle(realA3 - startAngle);
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTagDialog.java

    r30419 r30701  
    11package org.openstreetmap.josm.plugins.utilsplugin2.multitagger;
     2
     3import static org.openstreetmap.josm.tools.I18n.marktr;
     4import static org.openstreetmap.josm.tools.I18n.tr;
    25
    36import java.awt.Color;
     
    1821import java.util.LinkedList;
    1922import java.util.List;
     23
    2024import javax.swing.AbstractAction;
    21 import static javax.swing.Action.SHORT_DESCRIPTION;
    2225import javax.swing.BoxLayout;
    23 import javax.swing.DefaultCellEditor;
    2426import javax.swing.JButton;
    2527import javax.swing.JComponent;
     
    3537import javax.swing.event.ListSelectionListener;
    3638import javax.swing.table.DefaultTableCellRenderer;
     39
    3740import org.openstreetmap.josm.Main;
    3841import org.openstreetmap.josm.actions.AutoScaleAction;
     
    5154import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher;
    5255import org.openstreetmap.josm.tools.GBC;
    53 import static org.openstreetmap.josm.tools.I18n.marktr;
    54 import static org.openstreetmap.josm.tools.I18n.tr;
    5556import org.openstreetmap.josm.tools.ImageProvider;
    56 import org.openstreetmap.josm.tools.Shortcut;
    5757import org.openstreetmap.josm.tools.WindowGeometry;
    5858
     
    166166    }
    167167   
    168     private OsmPrimitive getSelectedPrimitive() {
     168    /*private OsmPrimitive getSelectedPrimitive() {
    169169        int idx = tbl.getSelectedRow();
    170170        if (idx>=0) {
     
    173173            return null;
    174174        }
    175     }
     175    }*/
    176176   
    177177   private final MouseAdapter tableMouseAdapter = new MouseAdapter() {
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTaggerTableModel.java

    r30389 r30701  
    1010import java.util.List;
    1111import java.util.Set;
     12
    1213import javax.swing.JTable;
    1314import javax.swing.table.AbstractTableModel;
    14 import javax.swing.table.TableCellEditor;
     15
    1516import org.openstreetmap.josm.Main;
    1617import org.openstreetmap.josm.command.ChangePropertyCommand;
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/IntersectedWaysAction.java

    r30177 r30701  
    1010import java.util.HashSet;
    1111import java.util.Set;
     12
    1213import javax.swing.JOptionPane;
    13 import org.openstreetmap.josm.Main;
     14
    1415import org.openstreetmap.josm.actions.JosmAction;
    15 import org.openstreetmap.josm.data.osm.*;
     16import org.openstreetmap.josm.data.osm.OsmPrimitive;
     17import org.openstreetmap.josm.data.osm.Way;
    1618import org.openstreetmap.josm.gui.Notification;
    17 
    1819import org.openstreetmap.josm.tools.Shortcut;
    1920
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/IntersectedWaysRecursiveAction.java

    r30177 r30701  
    1010import java.util.HashSet;
    1111import java.util.Set;
     12
    1213import javax.swing.JOptionPane;
    13 import org.openstreetmap.josm.Main;
     14
    1415import org.openstreetmap.josm.actions.JosmAction;
    15 import org.openstreetmap.josm.data.osm.*;
     16import org.openstreetmap.josm.data.osm.OsmPrimitive;
     17import org.openstreetmap.josm.data.osm.Way;
    1618import org.openstreetmap.josm.gui.Notification;
    17 import static org.openstreetmap.josm.tools.I18n.tr;
    18 
    1919import org.openstreetmap.josm.tools.Shortcut;
    2020
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/MiddleNodesAction.java

    r30177 r30701  
    1010import java.util.HashSet;
    1111import java.util.Set;
     12
    1213import javax.swing.JOptionPane;
    13 import org.openstreetmap.josm.Main;
     14
    1415import org.openstreetmap.josm.actions.JosmAction;
    15 import org.openstreetmap.josm.data.osm.*;
     16import org.openstreetmap.josm.data.osm.Node;
     17import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1618import org.openstreetmap.josm.gui.Notification;
    17 
    1819import org.openstreetmap.josm.tools.Shortcut;
    1920
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectAllInsideAction.java

    r30200 r30701  
    1111import javax.swing.JOptionPane;
    1212
    13 import org.openstreetmap.josm.Main;
    1413import org.openstreetmap.josm.actions.JosmAction;
    15 import org.openstreetmap.josm.data.osm.*;
     14import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1615import org.openstreetmap.josm.gui.Notification;
    17 
    1816import org.openstreetmap.josm.tools.Shortcut;
    1917
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectHighwayAction.java

    r30177 r30701  
    66import java.awt.event.ActionEvent;
    77import java.awt.event.KeyEvent;
    8 import java.util.*;
     8import java.util.ArrayList;
     9import java.util.Collection;
     10import java.util.Collections;
     11import java.util.HashSet;
     12import java.util.LinkedList;
     13import java.util.List;
     14import java.util.Queue;
     15import java.util.Set;
     16
    917import javax.swing.JOptionPane;
    10 import org.openstreetmap.josm.Main;
     18
    1119import org.openstreetmap.josm.actions.JosmAction;
    12 import org.openstreetmap.josm.data.osm.*;
     20import org.openstreetmap.josm.data.osm.Node;
     21import org.openstreetmap.josm.data.osm.OsmPrimitive;
     22import org.openstreetmap.josm.data.osm.Way;
    1323import org.openstreetmap.josm.gui.Notification;
    14 import static org.openstreetmap.josm.tools.I18n.tr;
    1524import org.openstreetmap.josm.tools.Shortcut;
    1625
Note: See TracChangeset for help on using the changeset viewer.