From e4e2eddeae434b57da9349d351e705b30f9f3db6 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 14 Nov 2002 00:00:11 +0000 Subject: [PATCH] A note that the collection passed into positionRect() will be wrecked. git-svn-id: https://samskivert.googlecode.com/svn/trunk@938 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/swing/util/SwingUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java b/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java index edad2cd2..e2cbe0c8 100644 --- a/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java +++ b/projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java @@ -1,5 +1,5 @@ // -// $Id: SwingUtil.java,v 1.16 2002/10/27 22:17:08 shaper Exp $ +// $Id: SwingUtil.java,v 1.17 2002/11/14 00:00:11 ray Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -142,6 +142,7 @@ public class SwingUtil * @param bounds the bounding box within which the rectangle must be * positioned. * @param avoidShapes a collection of Shapes that must not be overlapped. + * The collection will be destructively modified. * * @return true if the rectangle was successfully placed, given the * constraints, or false if the positioning failed (the rectangle will