You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/01/12 08:41:32 UTC
cvs commit: xml-xalan/java/src/org/apache/xpath/compiler XPathParser.java
sboag 01/01/11 23:41:32
Modified: java/src/org/apache/xpath/compiler XPathParser.java
Log:
Make the class not serializable. This class should never be serialized,
and any non-transient references should be considered in error.
Revision Changes Path
1.12 +2 -5 xml-xalan/java/src/org/apache/xpath/compiler/XPathParser.java
Index: XPathParser.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/compiler/XPathParser.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- XPathParser.java 2001/01/07 06:24:40 1.11
+++ XPathParser.java 2001/01/12 07:41:32 1.12
@@ -80,12 +80,11 @@
* Tokenizes and parses XPath expressions. This should really be named
* XPathParserImpl, and may be renamed in the future.
*/
-public class XPathParser implements java.io.Serializable
+public class XPathParser
{
/**
* The XPath to be processed.
- * @serial
*/
private OpMap m_ops;
@@ -103,7 +102,6 @@
/**
* The position in the token queue is tracked by m_queueMark.
- * @serial
*/
int m_queueMark = 0;
@@ -118,7 +116,6 @@
/**
* The prefix resolver to map prefixes to namespaces in the OpMap.
- * @serial
*/
PrefixResolver m_namespaceContext;
@@ -228,7 +225,7 @@
}
/** The error listener where syntax errors are to be sent.
- * @serial */
+ */
private ErrorListener m_errorListener;
/** The source location of the XPath. */