[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-cvs
Subject:    svn commit: r368185 -
From:       minchau () apache ! org
Date:       2006-01-12 0:33:12
Message-ID: 20060112003312.65451.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: minchau
Date: Wed Jan 11 16:33:10 2006
New Revision: 368185

URL: http://svn.apache.org/viewcvs?rev=368185&view=rev
Log:
Minor,  calling the setWriter() method to set the writer,
rather than explicitly setting the field:
  m_writer=writer;

Its just the wright thing to do.

Modified:
    xalan/java/trunk/src/org/apache/xml/serializer/ToXMLStream.java

Modified: xalan/java/trunk/src/org/apache/xml/serializer/ToXMLStream.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/ToXMLStream.java?rev=368185&r1=368184&r2=368185&view=diff
 ==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/ToXMLStream.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/ToXMLStream.java Wed Jan 11 \
16:33:10 2006 @@ -77,7 +77,7 @@
     public void CopyFrom(ToXMLStream xmlListener)
     {
 
-        m_writer = xmlListener.m_writer;
+        setWriter(xmlListener.m_writer);
 
 
         // m_outputStream = xmlListener.m_outputStream;



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic