Revision 45425 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/spline/AbstractSpline.java
AbstractSpline.java | ||
---|---|---|
26 | 26 |
import java.awt.geom.AffineTransform; |
27 | 27 |
import java.awt.geom.PathIterator; |
28 | 28 |
import java.util.Collections; |
29 |
import java.util.Iterator; |
|
30 | 29 |
|
31 | 30 |
import com.vividsolutions.jts.geom.Coordinate; |
32 | 31 |
|
... | ... | |
51 | 50 |
|
52 | 51 |
|
53 | 52 |
/** |
54 |
* @author fdiaz
|
|
53 |
* @author gvSIG Team
|
|
55 | 54 |
* |
56 | 55 |
*/ |
56 |
@SuppressWarnings("UseSpecificCatch") |
|
57 | 57 |
public abstract class AbstractSpline extends AbstractCurve { |
58 | 58 |
|
59 | 59 |
/** |
... | ... | |
199 | 199 |
break; |
200 | 200 |
default: |
201 | 201 |
String message = StringUtils.replace("Type of segment %(segment)s isn't SEG_MOVETO.","%(segment)s",String.valueOf(i)); |
202 |
logger.warn(message);
|
|
202 |
LOGGER.warn(message);
|
|
203 | 203 |
throw new RuntimeException(message); |
204 | 204 |
} |
205 | 205 |
} else { |
... | ... | |
230 | 230 |
break; |
231 | 231 |
default: |
232 | 232 |
String message = StringUtils.replace("The general path has a gap in segment %(segment)s.","%(segment)s",String.valueOf(i)); |
233 |
logger.warn(message);
|
|
233 |
LOGGER.warn(message);
|
|
234 | 234 |
throw new RuntimeException(message); |
235 | 235 |
} |
236 | 236 |
} |
Also available in: Unified diff