Ignore:
Timestamp:
2008-11-27T00:28:27+01:00 (15 years ago)
Author:
framm
Message:
  • make Coordinate class serializable
File:
1 edited

Legend:

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

    r1004 r1094  
    33
    44import java.awt.geom.Point2D;
     5import java.io.Serializable;
    56
    67/**
    78 * Base class of points of both coordinate systems.
    89 *
    9  * The variables are default package protected to allow routines in the data package
    10  * to access them directly.
     10 * The variables are default package protected to allow routines in the
     11 * data package to access them directly.
    1112 *
    12  * As the class itself is package protected too, it is not visible outside of the data
    13  * package. Routines there should only use LatLon or EastNorth
     13 * As the class itself is package protected too, it is not visible
     14 * outside of the data package. Routines there should only use LatLon or
     15 * EastNorth.
    1416 *
    1517 * @author imi
    1618 */
    17 abstract class Coordinate extends Point2D {
     19abstract class Coordinate extends Point2D implements Serializable {
    1820
    1921    protected double x;
Note: See TracChangeset for help on using the changeset viewer.