2,2c2,2 < * @(#)ImageFigure.java 5.2 --- > * @(#)ImageFigure.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 18a25,25 > * 19a27,28 > * > * @version <$CURRENT_VERSION$> 71,71c80,80 < if (fImage == null) --- > if (fImage == null) { 72a82,82 > } 73,73c83,83 < if (fImage != null) --- > if (fImage != null) { 74a85,85 > } 75,75c86,86 < else --- > else { 77a89,89 > } 90,90c102,102 < if (listener() != null) --- > if (listener() != null) { 92a105,105 > } 96a110,118 > * Releases a figure's resources. Release is called when > * a figure is removed from a drawing. Informs the listeners that > * the figure is removed by calling figureRemoved. > */ > public void release() { > fImage.flush(); > } > > /**