curcuru 01/06/12 11:37:18
Modified: java/src/org/apache/xalan/serialize Tag: DTM_EXP
WriterToUTF8Buffered.java
java/src/org/apache/xml/dtm/ref Tag: DTM_EXP
DTMDefaultBaseIterators.java
Log:
Remove 'final' modifier from variables initialized in some constructors;
this is to get around Sun JDK 1.1.8 compile error otherwise
Reviewed by: sboag
Revision Changes Path
No revision
No revision
1.1.2.2 +5 -4
xml-xalan/java/src/org/apache/xalan/serialize/Attic/WriterToUTF8Buffered.java
Index: WriterToUTF8Buffered.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/serialize/Attic/WriterToUTF8Buffered.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- WriterToUTF8Buffered.java 2001/06/03 03:18:05 1.1.2.1
+++ WriterToUTF8Buffered.java 2001/06/12 18:37:13 1.1.2.2
@@ -67,13 +67,14 @@
public final class WriterToUTF8Buffered extends Writer
{
- /** The byte stream to write to. */
- private final OutputStream m_os;
+ /** The byte stream to write to. (sc & sb remove final to compile in JDK 1.1.8) */
+ private OutputStream m_os;
/**
- * The internal buffer where data is stored.
+ * The internal buffer where data is stored.
+ * (sc & sb remove final to compile in JDK 1.1.8)
*/
- private final byte buf[];
+ private byte buf[];
/**
* The number of valid bytes in the buffer. This value is always
No revision
No revision
1.1.2.5 +2 -2
xml-xalan/java/src/org/apache/xml/dtm/ref/Attic/DTMDefaultBaseIterators.java
Index: DTMDefaultBaseIterators.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/Attic/DTMDefaultBaseIterators.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- DTMDefaultBaseIterators.java 2001/06/04 07:44:12 1.1.2.4
+++ DTMDefaultBaseIterators.java 2001/06/12 18:37:16 1.1.2.5
@@ -1753,8 +1753,8 @@
private class SingletonIterator extends InternalAxisIteratorBase
{
- /** (not sure yet what this is. -sb) */
- private final boolean _isConstant;
+ /** (not sure yet what this is. -sb) (sc & sb remove final to compile in JDK
1.1.8) */
+ private boolean _isConstant;
/**
* Constructor SingletonIterator
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]