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
This commit is contained in:
Greg Wilkins 2010-06-18 01:53:35 +00:00
parent 1a82b62179
commit 211cfb87af
1 changed files with 2 additions and 1 deletions

View File

@ -535,6 +535,7 @@ public abstract class Resource implements Serializable
{
StringBuffer buf = null;
loop:
for (int i=0;i<raw.length();i++)
{
char c=raw.charAt(i);
@ -545,7 +546,7 @@ public abstract class Resource implements Serializable
case '<':
case '>':
buf=new StringBuffer(raw.length()<<1);
break;
break loop;
}
}
if (buf==null)