diff --git a/projects/samskivert/src/java/com/samskivert/swing/SmartPolygon.java b/projects/samskivert/src/java/com/samskivert/swing/SmartPolygon.java index a45d8a9d..4280542f 100644 --- a/projects/samskivert/src/java/com/samskivert/swing/SmartPolygon.java +++ b/projects/samskivert/src/java/com/samskivert/swing/SmartPolygon.java @@ -1,5 +1,5 @@ // -// $Id: SmartPolygon.java,v 1.3 2002/08/20 18:57:31 mdb Exp $ +// $Id: SmartPolygon.java,v 1.4 2002/08/22 01:14:55 shaper Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -30,21 +30,12 @@ import java.awt.Rectangle; */ public class SmartPolygon extends Polygon { - /** - * Returns the internally cached bounds rectangle for this polygon. - * Don't modify it! - */ - public Rectangle getBounds () - { - return (bounds == null) ? super.getBounds() : bounds; - } - /** * Returns the internally cached bounds rectangle for this polygon. * Don't modify it! */ public Rectangle getBoundingBox () { - return (bounds == null) ? super.getBounds() : bounds; + return (bounds == null) ? super.getBoundingBox() : bounds; } }