[izpack-changes] izpack-src/src/lib/net/n3/nanoxml NonValidator.java,1.7,1.8 StdXMLParser.java,1.8,1.9 StdXMLReader.java,1.9,1.10
jponge
nobody at sheep.berlios.de
Tue Mar 21 19:15:06 CET 2006
- Previous message: [izpack-changes] izpack-src/src build.xml,1.127,1.128
- Next message: [izpack-changes] izpack-src/src/lib/com/izforge/izpack/util Console.java,1.9,1.10 Debug.java,1.9,1.10 FileExecutor.java,1.20,1.21 FileUtil.java,1.1,1.2 HostAddressValidator.java,1.5,1.6 IoHelper.java,1.25,1.26 IsPortValidator.java,1.4,1.5 JarOutputStream.java,1.4,1.5 OSClassHelper.java,1.6,1.7 OsConstraint.java,1.13,1.14 OsVersion.java,1.14,1.15 PortValidator.java,1.4,1.5 StringTool.java,1.8,1.9 TargetFactory.java,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/izpack/izpack-src/src/lib/net/n3/nanoxml
In directory sheep:/tmp/cvs-serv3622/src/lib/net/n3/nanoxml
Modified Files:
NonValidator.java StdXMLParser.java StdXMLReader.java
Log Message:
Some fixes adviced by IntelliJ IDEA 5.1 code inspector.
Index: NonValidator.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/net/n3/nanoxml/NonValidator.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- NonValidator.java 12 Mar 2006 16:32:29 -0000 1.7
+++ NonValidator.java 21 Mar 2006 18:14:55 -0000 1.8
@@ -362,7 +362,7 @@
String str = XMLUtil.scanIdentifier(reader, '%', this.parameterEntityResolver);
XMLUtil.skipWhitespace(reader, '%', null, null);
- if (!str.equals("FIXED"))
+ if (!"FIXED".equals(str))
{
XMLUtil.skipWhitespace(reader, '%', null, null);
ch = XMLUtil.read(reader, null, '%', this.parameterEntityResolver);
Index: StdXMLParser.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/net/n3/nanoxml/StdXMLParser.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- StdXMLParser.java 12 Mar 2006 16:32:30 -0000 1.8
+++ StdXMLParser.java 21 Mar 2006 18:14:55 -0000 1.9
@@ -275,7 +275,7 @@
Reader reader = new ContentReader(this.reader, this.entityResolver, '&',
StdXMLParser.END_OF_PI, true, "");
- if (!target.equalsIgnoreCase("xml"))
+ if (!"xml".equalsIgnoreCase(target))
{
this.builder.newProcessingInstruction(target, reader);
}
@@ -314,7 +314,6 @@
case '-':
XMLUtil.skipComment(this.reader, this.entityResolver);
- return;
}
}
Index: StdXMLReader.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/net/n3/nanoxml/StdXMLReader.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- StdXMLReader.java 12 Mar 2006 16:32:30 -0000 1.9
+++ StdXMLReader.java 21 Mar 2006 18:14:55 -0000 1.10
@@ -264,7 +264,7 @@
break;
}
- if (key.toString().equals("encoding")) { return str.substring(index, index2); }
+ if ("encoding".equals(key.toString())) { return str.substring(index, index2); }
index = index2 + 1;
}
- Previous message: [izpack-changes] izpack-src/src build.xml,1.127,1.128
- Next message: [izpack-changes] izpack-src/src/lib/com/izforge/izpack/util Console.java,1.9,1.10 Debug.java,1.9,1.10 FileExecutor.java,1.20,1.21 FileUtil.java,1.1,1.2 HostAddressValidator.java,1.5,1.6 IoHelper.java,1.25,1.26 IsPortValidator.java,1.4,1.5 JarOutputStream.java,1.4,1.5 OSClassHelper.java,1.6,1.7 OsConstraint.java,1.13,1.14 OsVersion.java,1.14,1.15 PortValidator.java,1.4,1.5 StringTool.java,1.8,1.9 TargetFactory.java,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the izpack-changes
mailing list