From 211cfb87af0262e31c1b4d1ab4290d2b8c2ef533 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Fri, 18 Jun 2010 01:53:35 +0000 Subject: [PATCH] 316597 fixed loop break git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2025 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../main/java/org/eclipse/jetty/util/resource/Resource.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java index 4d860a4fb94..44e8ba69164 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java @@ -535,6 +535,7 @@ public abstract class Resource implements Serializable { StringBuffer buf = null; + loop: for (int i=0;i': buf=new StringBuffer(raw.length()<<1); - break; + break loop; } } if (buf==null)