Commit 5549d65d by Bryce McKinlay Committed by Bryce McKinlay

* libjava.compile/T20020529.java: New file.

From-SVN: r54039
parent 50efa737
2002-05-29 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* libjava.compile/T20020529.java: New file.
2002-05-27 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* libjava.lang/PR6820.java: New file.
......
public class T20020529
{
public void checkXMLLangAttributeValue(String lang)
{
int offset = -1;
if (lang.length() >= 2) {
char ch0 = lang.charAt(0);
}
if (offset > 0) {
char ch = lang.charAt(offset++);
if (ch != '-') {
offset = -1;
} else {
while (true)
{
if (ch == '-')
ch = lang.charAt(offset++);
ch = lang.charAt(offset++);
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment