Fix empty statement warnings.
git-svn-id: svn://10.0.0.236/trunk@224219 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
df97deb430
commit
168b759383
@ -1424,8 +1424,9 @@ todo need to handle namespace prefix not found in XML look for namespace type in
|
||||
protected void changeNS (String oldURI, String newURI)
|
||||
{
|
||||
XmlCursor curs = newCursor();
|
||||
while (curs.toParent())
|
||||
/* Goto the top of the document */;
|
||||
while (curs.toParent()) {
|
||||
/* Goto the top of the document */
|
||||
}
|
||||
|
||||
TokenType tt = curs.currentTokenType();
|
||||
if (tt.isStartdoc())
|
||||
|
||||
@ -1157,7 +1157,9 @@ class DToA {
|
||||
// while(*--s == '0') ;
|
||||
// s++;
|
||||
int bl = buf.length();
|
||||
while(bl-->0 && buf.charAt(bl) == '0');
|
||||
while(bl-->0 && buf.charAt(bl) == '0') {
|
||||
// empty
|
||||
}
|
||||
buf.setLength(bl + 1);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user