mmidy 02/01/28 08:24:26
Modified: java/src/org/apache/xpath/res XPATHErrorResources.java
Log:
bug 4762: Fixed the duplicate error message in XPATH.
Revision Changes Path
1.10 +13 -13
xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.java
Index: XPATHErrorResources.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XPATHErrorResources.java 28 Jul 2001 00:26:00 -0000 1.9
+++ XPATHErrorResources.java 28 Jan 2002 16:24:26 -0000 1.10
@@ -84,7 +84,7 @@
public static final String WARNING_SUFFIX = "WR";
/** Field MAX_CODE */
- public static final int MAX_CODE = 83; // this is needed to keep track of
the number of messages
+ public static final int MAX_CODE = 84; // this is needed to keep track of
the number of messages
/** Field MAX_WARNING */
public static final int MAX_WARNING = 11; // this is needed to keep track
of the number of warnings
@@ -812,17 +812,7 @@
{
contents[ER_ZERO_OR_ONE][1] =
"0 or 1";
- }
-
- /** 2 or 3 */
- public static final int ER_TWO_OR_THREE = 78;
-
- static
- {
- contents[ER_TWO_OR_THREE][1] =
- "0 or 1";
- }
-
+ }
/** rtf() not supported by XRTreeFragSelectWrapper */
@@ -877,7 +867,17 @@
{
contents[ER_FASTSTRINGBUFFER_CANNOT_BE_NULL][1] =
"The FastStringBuffer argument can not be null";
- }
+ }
+
+ /** 2 or 3 */
+ public static final int ER_TWO_OR_THREE = 84;
+
+ static
+ {
+ contents[ER_TWO_OR_THREE][1] =
+ "0 or 1";
+ }
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]