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
git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/DTM_EXP@334961 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/org/apache/xalan/serialize/WriterToUTF8Buffered.java b/src/org/apache/xalan/serialize/WriterToUTF8Buffered.java
index b43ece5..18b3dbc 100644
--- a/src/org/apache/xalan/serialize/WriterToUTF8Buffered.java
+++ b/src/org/apache/xalan/serialize/WriterToUTF8Buffered.java
@@ -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
diff --git a/src/org/apache/xml/dtm/ref/DTMDefaultBaseIterators.java b/src/org/apache/xml/dtm/ref/DTMDefaultBaseIterators.java
index 5e81414..cbbdae7 100644
--- a/src/org/apache/xml/dtm/ref/DTMDefaultBaseIterators.java
+++ b/src/org/apache/xml/dtm/ref/DTMDefaultBaseIterators.java
@@ -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