Ignore:
Timestamp:
2013-10-07T00:04:48+02:00 (6 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Nested blocks of code should not be left empty

Location:
trunk/src/org/openstreetmap/josm/data/projection/datum
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java

    r6222 r6310  
    2424import java.io.Serializable;
    2525
     26import org.openstreetmap.josm.Main;
    2627import org.openstreetmap.josm.tools.Utils;
    2728
     
    336337            }
    337338        } catch (CloneNotSupportedException cnse) {
     339            Main.warn(cnse);
    338340        }
    339341        return clone;
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2Util.java

    r5073 r6310  
    1919 */
    2020package org.openstreetmap.josm.data.projection.datum;
     21
     22import org.openstreetmap.josm.Main;
    2123
    2224/**
     
    112114            Class.forName("java.nio.channels.FileChannel");
    113115            nioAvailable = true;
    114         } catch (ClassNotFoundException cnfe) {}
     116        } catch (ClassNotFoundException cnfe) {
     117            Main.info(cnfe.getMessage());
     118        }
    115119        return nioAvailable;
    116120    }
Note: See TracChangeset for help on using the changeset viewer.