From f634ee53dc0e884b880a8419f2ec2477667f4717 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sat, 15 Nov 2003 00:17:59 +0000 Subject: [PATCH] We don't need to be so Draconian, we can just do our best and leave it at that. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2857 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/geom/GeomUtil.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/java/com/threerings/geom/GeomUtil.java b/src/java/com/threerings/geom/GeomUtil.java index 82951640e..b8c6a6a49 100644 --- a/src/java/com/threerings/geom/GeomUtil.java +++ b/src/java/com/threerings/geom/GeomUtil.java @@ -1,5 +1,5 @@ // -// $Id: GeomUtil.java,v 1.5 2003/05/12 05:22:34 ray Exp $ +// $Id: GeomUtil.java,v 1.6 2003/11/15 00:17:59 mdb Exp $ package com.threerings.geom; @@ -176,10 +176,6 @@ public class GeomUtil */ public static void shiftToContain (Rectangle tainer, Rectangle tained) { - if (tainer.width < tained.width || tainer.height < tained.height) { - throw new IllegalArgumentException( - tainer + " cannot contain " + tained); - } if (tained.x < tainer.x) { tainer.x = tained.x; }