Ignore:
Timestamp:
2015-11-16T01:24:39+01:00 (9 years ago)
Author:
donvip
Message:

[josm_importimageplugin] code cleanup

Location:
applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/ImportImagePlugin.java

    r31746 r31751  
    4848    static final String LOGGING_PROPERTIES_FILEPATH = Main.pref.getPluginsDirectory().getAbsolutePath() + "/ImportImagePlugin/log4j.properties/";
    4949
    50 
    5150    public Properties getPluginProps() {
    5251        return pluginProps;
    5352    }
    5453
    55 
    5654    /**
    5755     * constructor
     
    6260        super(info);
    6361
    64         // switch to x=lon and y=lat for EPSG:4326 as JOSM does
    65         // (formally incorrect, but reasonable)
    66         System.setProperty("org.geotools.referencing.forceXY", "true");
    67 
    6862        try {
    69 
    7063            // First create custom ClassLoader to load resources from the main JAR
    7164            pluginClassLoader = createPluginClassLoader();
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/PluginOperations.java

    r31746 r31751  
    7373            CoordinateReferenceSystem targetCrs) throws NoSuchAuthorityCodeException, FactoryException {
    7474
    75         // TODO: add category for NO_DATA values in coverage (transparency in
    76         // image)
     75        // TODO: add category for NO_DATA values in coverage (transparency in image)
    7776
    7877        GridCoverage2D destination = null;
     
    112111
    113112        /*------- switch for file type -----------*/
    114         if (extension.equalsIgnoreCase(".tif")
    115                 || extension.equalsIgnoreCase(".tiff"))
     113        if (extension.equalsIgnoreCase(".tif") || extension.equalsIgnoreCase(".tiff"))
    116114        {
    117115
Note: See TracChangeset for help on using the changeset viewer.