Fix empty statement warnings.

git-svn-id: svn://10.0.0.236/trunk@224219 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nboyd%atg.com 2007-04-05 14:59:49 +00:00
parent df97deb430
commit 168b759383
2 changed files with 6 additions and 3 deletions

View File

@ -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())

View File

@ -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);
}