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...@locus.apache.org on 2000/07/18 03:32:22 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/templates OutputFormatExtended.java
sboag 00/07/17 18:32:22
Modified: java/src/org/apache/xalan/templates
OutputFormatExtended.java
Log:
Moved setPreserveSpace(false); in setIndent(boolean) to setPreserveSpace(!on); in setIndenting( boolean on ).
Revision Changes Path
1.4 +2 -1 xml-xalan/java/src/org/apache/xalan/templates/OutputFormatExtended.java
Index: OutputFormatExtended.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/OutputFormatExtended.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- OutputFormatExtended.java 2000/07/06 02:21:27 1.3
+++ OutputFormatExtended.java 2000/07/18 01:32:22 1.4
@@ -270,7 +270,7 @@
public void setIndent( boolean indent )
{
// System.out.println("setIndent( "+indent+" )");
- setPreserveSpace(false);
+ // setPreserveSpace(false);
setIndenting(indent);
}
@@ -304,6 +304,7 @@
// System.out.println("setIndenting( "+on+" ), m_shouldRecordHasBeenSet: "+m_shouldRecordHasBeenSet);
if(m_shouldRecordHasBeenSet)
m_indentingHasBeenSet = true;
+ setPreserveSpace(!on);
super.setIndenting(on);
}