Ignore:
Timestamp:
2016-11-13T16:23:52+01:00 (8 years ago)
Author:
donvip
Message:

fix more warnings

Location:
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/gui/DownloadSignedOsmDataTask.java

    r32533 r33058  
    3434    /**
    3535     * Download the given OSMPrimitives to the given layer
    36      *
    3736     */
    3837    public DownloadSignedOsmDataTask(Collection<OsmPrimitive> missing, OsmDataLayer curLayer) {
     
    9291
    9392            SwingUtilities.invokeLater(
    94                     new Runnable() {
    95                         public void run() {
    96                             curLayer.mergeFrom(dataSet);
    97                             curLayer.onPostDownloadFromServer();
    98                             AutoScaleAction.zoomTo(dataSet.allPrimitives());
    99                             updateReferences(dataSet);
    100                         }
     93                    () -> {
     94                        curLayer.mergeFrom(dataSet);
     95                        curLayer.onPostDownloadFromServer();
     96                        AutoScaleAction.zoomTo(dataSet.allPrimitives());
     97                        updateReferences(dataSet);
    10198                    }
    10299           );
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/gui/KeyTreeTableModel.java

    r32533 r33058  
    115115    }
    116116
    117     public class SignatureTreeNode {
     117    public static class SignatureTreeNode {
    118118        private PGPSignature s;
    119119        private final List<SignatureTreeNode> children = new ArrayList<>();
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/io/SigReader.java

    r32533 r33058  
    110110                        case WAY: osm = new Way(uid); break;
    111111                        case RELATION: osm = new Relation(uid); break;
     112                        default: throw new IllegalArgumentException(t.toString());
    112113                        }
    113114                        missingData.add(osm);
Note: See TracChangeset for help on using the changeset viewer.