/src/main/java/org/htmlunit/html/HtmlArea.java
if ( coords.length < 1) {
if ( coords.length > 1 ) {
} return new Circle2D(centerX, centerY, radius); } private Shape2D parsePoly() { final String[] coords = org.htmlunit.util.StringUtils.splitAtCommaOrBlank(getCoordsAttribute()); try { <extra_id_0> final Polygon2D path = new Polygon2D(Double.parseDouble(coords[0]), Double.parseDouble(coords[1])); for (int i = 2; i + 1 < coords.length; i += 2) { path.lineTo(Double.parseDouble(coords[i]), Double.parseDouble(coords[i + 1])); } return path; }