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:
parent
1a82b62179
commit
211cfb87af
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue