Revision 45344 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.jts/src/main/java/org/gvsig/fmap/geom/jts/primitive/curve/arc/AbstractArc.java

View differences:

AbstractArc.java
78 78

  
79 79
    @Override
80 80
    public double getCoordinateAt(int index, int dimension) {
81
        String message = "Calling deprecated method setPoints of a arc";
81
        String message = "Calling deprecated method getCoordinateAt of a arc";
82 82
        notifyDeprecated(message);
83 83
        throw new UnsupportedOperationException(message);
84 84
    }
85 85

  
86 86
    @Override
87 87
    public OrientablePrimitive setCoordinateAt(int index, int dimension, double value) {
88
        String message = "Calling deprecated method setPoints of a arc";
88
        String message = "Calling deprecated method setCoordinateAt of a arc";
89 89
        notifyDeprecated(message);
90 90
        throw new UnsupportedOperationException(message);
91 91
    }
92 92

  
93 93
    @Override
94 94
    public OrientablePrimitive addVertex(Point point) {
95
        String message = "Calling deprecated method setPoints of a arc";
95
        String message = "Calling deprecated method addVertex of a arc";
96 96
        notifyDeprecated(message);
97 97
        throw new UnsupportedOperationException(message);
98 98
    }
99 99

  
100 100
    @Override
101 101
    public OrientablePrimitive addVertex(double x, double y) {
102
        String message = "Calling deprecated method setPoints of a arc";
102
        String message = "Calling deprecated method addVertex of a arc";
103 103
        notifyDeprecated(message);
104 104
        throw new UnsupportedOperationException(message);
105 105
    }
106 106

  
107 107
    @Override
108 108
    public OrientablePrimitive addVertex(double x, double y, double z) {
109
        String message = "Calling deprecated method setPoints of a arc";
109
        String message = "Calling deprecated method addVertex of a arc";
110 110
        notifyDeprecated(message);
111 111
        throw new UnsupportedOperationException(message);
112 112
    }
113 113

  
114 114
    @Override
115 115
    public void removeVertex(int index) {
116
        String message = "Calling deprecated method setPoints of a arc";
116
        String message = "Calling deprecated method removeVertex of a arc";
117 117
        notifyDeprecated(message);
118 118
        throw new UnsupportedOperationException(message);
119 119
    }
120 120

  
121 121
    @Override
122 122
    public Point getVertex(int index) {
123
        String message = "Calling deprecated method setPoints of a arc";
123
        String message = "Calling deprecated method getVertex of a arc";
124 124
        notifyDeprecated(message);
125 125
        throw new UnsupportedOperationException(message);
126 126
    }
127 127

  
128 128
    @Override
129 129
    public int getNumVertices() {
130
        String message = "Calling deprecated method setPoints of a arc";
130
        String message = "Calling deprecated method getNumVertices of a arc";
131 131
        notifyDeprecated(message);
132 132
        throw new UnsupportedOperationException(message);
133 133
    }
134 134

  
135 135
    @Override
136 136
    public OrientablePrimitive insertVertex(int index, Point p) {
137
        String message = "Calling deprecated method setPoints of a arc";
137
        String message = "Calling deprecated method insertVertex of a arc";
138 138
        notifyDeprecated(message);
139 139
        throw new UnsupportedOperationException(message);
140 140
    }
141 141

  
142 142
    @Override
143 143
    public OrientablePrimitive setVertex(int index, Point p) {
144
        String message = "Calling deprecated method setPoints of a arc";
144
        String message = "Calling deprecated method setVertex of a arc";
145 145
        notifyDeprecated(message);
146 146
        throw new UnsupportedOperationException(message);
147 147
    }
148 148

  
149 149
    @Override
150 150
    public void setGeneralPath(GeneralPathX generalPathX) {
151
        String message = "Calling deprecated method setPoints of a arc";
151
        String message = "Calling deprecated method setGeneralPath of a arc";
152 152
        notifyDeprecated(message);
153 153
        throw new UnsupportedOperationException(message);
154 154
    }
155 155

  
156 156
    @Override
157 157
    public void addMoveToVertex(Point point) {
158
        String message = "Calling deprecated method setPoints of a arc";
158
        String message = "Calling deprecated method addMoveToVertex of a arc";
159 159
        notifyDeprecated(message);
160 160
        throw new UnsupportedOperationException(message);
161 161
    }
162 162

  
163 163
    @Override
164 164
    public void closePrimitive() {
165
        String message = "Calling deprecated method setPoints of a arc";
165
        String message = "Calling deprecated method closePrimitive of a arc";
166 166
        notifyDeprecated(message);
167 167
        throw new UnsupportedOperationException(message);
168 168
    }

Also available in: Unified diff