Author: richard.opalka(a)jboss.com
Date: 2008-04-18 04:35:33 -0400 (Fri, 18 Apr 2008)
New Revision: 6485
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java
Log:
[JBWS-2156] optimization
Modified: stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java 2008-04-18
08:20:47 UTC (rev 6484)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java 2008-04-18
08:35:33 UTC (rev 6485)
@@ -81,7 +81,7 @@
{
soapPart = new SOAPPartImpl(this);
setProperty(CHARACTER_SET_ENCODING, "UTF-8");
- setProperty(WRITE_XML_DECLARATION,
Boolean.valueOf(System.getProperty(WRITE_XML_DECLARATION, "false")));
+ setProperty(WRITE_XML_DECLARATION, Boolean.valueOf(WRITE_XML_DECLARATION));
}
public CIDGenerator getCidGenerator()