Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (12 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/pdfimport/src/pdfimport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/FilePlacement.java

    r28448 r29854  
    200200        public LatLon tranformCoords(Point2D pt) {
    201201
    202                 if (this.projection == null){
     202                if (this.projection == null) {
    203203                        return new LatLon(pt.getY() / 1000, pt.getX() / 1000);
    204                 }
    205                 else{
    206                         this.transform.transform(pt, en);
     204                } else {
     205                    Point2D dest = new Point2D.Double();
     206                        this.transform.transform(pt, dest);
     207                        en = new EastNorth(dest.getX(), dest.getY());
    207208                        return this.projection.eastNorth2latlon(en);
    208209                }
     
    210211
    211212        public EastNorth reverseTransform(LatLon coor) {
    212                 if (this.projection == null){
    213 
     213                if (this.projection == null) {
    214214                        return new EastNorth(coor.lon() * 1000, coor.lat() * 1000);
    215                 }
    216                 else{
     215                } else {
    217216                        return null;
    218217                }
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfMultiPath.java

    r25349 r29854  
    11package pdfimport;
    22
    3 import java.util.ArrayList;
    43import java.util.List;
    54
Note: See TracChangeset for help on using the changeset viewer.