Ignore:
Timestamp:
2013-08-21T10:14:51+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8987 - Fix NPE and Findbugs/Sonar violations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java

    r6167 r6169  
    99 * @author Imi
    1010 */
    11 public class EastNorth extends Coordinate {
     11public class EastNorth extends Coordinate implements Cloneable {
    1212
    1313    public EastNorth(double east, double north) {
     
    132132
    133133    @Override
    134     public EastNorth clone() {
    135         return new EastNorth(x, y);
     134    public EastNorth clone() throws CloneNotSupportedException {
     135        return (EastNorth) super.clone();
    136136    }
    137137}
Note: See TracChangeset for help on using the changeset viewer.