2c2 < * @(#)PolyLineFigure.java 5.2 --- > * @(#)PolyLineFigure.java 3a4,9 > * Project: JHotdraw - a GUI framework for technical drawings > * http://www.jhotdraw.org > * http://jhotdraw.sourceforge.net > * Copyright: © by the original author(s) and all contributors > * License: Lesser GNU Public License (LGPL) > * http://www.opensource.org/licenses/lgpl-license.html 19a26,27 > * > * @version <$CURRENT_VERSION$> 56c64 < while (k.hasMoreElements()) --- > while (k.hasMoreElements()) { 57a66 > } 68c77 < for (int i = 0; i < fPoints.size(); i++) --- > for (int i = 0; i < fPoints.size(); i++) { 69a79 > } 94c104 < while (k.hasMoreElements()) --- > while (k.hasMoreElements()) { 96a107 > } 127c138 < if (i != -1) --- > if (i != -1) { 128a140 > } 206c218 < if (!bounds.contains(x, y)) --- > if (!bounds.contains(x, y)) { 207a220 > } 213c226 < if (Geom.lineContainsPoint(p1.x, p1.y, p2.x, p2.y, x, y)) --- > if (Geom.lineContainsPoint(p1.x, p1.y, p2.x, p2.y, x, y)) { 215a229 > } 229c243 < if (Geom.lineContainsPoint(p1.x, p1.y, p2.x, p2.y, x, y)) --- > if (Geom.lineContainsPoint(p1.x, p1.y, p2.x, p2.y, x, y)) { 231a246 > } 259c274 < if (getStartDecoration() != null) --- > if (getStartDecoration() != null) { 261c276,277 < if (getEndDecoration() != null) --- > } > if (getEndDecoration() != null) { 262a279 > } 282c299 < if ((decoration & ARROW_TIP_START) != 0) --- > if ((decoration & ARROW_TIP_START) != 0) { 284c301,302 < else --- > } > else { 286c304,305 < if ((decoration & ARROW_TIP_END) != 0) --- > } > if ((decoration & ARROW_TIP_END) != 0) { 288c307,308 < else --- > } > else { 290a311 > } 293c314 < else --- > else { 295a317 > }