Author: jleroux
Date: Wed May 16 02:19:41 2012
New Revision: 1338971
URL: http://svn.apache.org/viewvc?rev=1338971&view=rev
Log:
Reverts r1338860+1338848, should have been deprecated and deprecation should
not be backported
Modified:
ofbiz/branches/release10.04/ (props changed)
ofbiz/branches/release10.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java
ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/string/UelFunctions.java
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
Reverse-merged /ofbiz/trunk:r1338845,1338856
Modified:
ofbiz/branches/release10.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java?rev=1338971&r1=1338970&r2=1338971&view=diff
==============================================================================
---
ofbiz/branches/release10.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
(original)
+++
ofbiz/branches/release10.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
Wed May 16 02:19:41 2012
@@ -883,7 +883,7 @@ public class CCPaymentServices {
OutputStream os = new ByteArrayOutputStream();
try {
- UtilXml.writeXmlDocument(requestDocument, os, "UTF-8", true,
false, 0, false);
+ UtilXml.writeXmlDocument(requestDocument, os, "UTF-8", true,
false, 0);
} catch (TransformerException e) {
throw new ClearCommerceException("Error serializing
requestDocument: " + e.getMessage());
}
Modified:
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java?rev=1338971&r1=1338970&r2=1338971&view=diff
==============================================================================
---
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java
(original)
+++
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java
Wed May 16 02:19:41 2012
@@ -127,7 +127,7 @@ public class UspsMockApiServlet extends
OutputStream os = new ByteArrayOutputStream();
try {
- UtilXml.writeXmlDocument(responseDocument, os, "UTF-8", true,
false, 0, false);
+ UtilXml.writeXmlDocument(responseDocument, os, "UTF-8", true,
false, 0);
} catch (TransformerException e) {
Debug.logInfo(e, module);
return;
Modified:
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java?rev=1338971&r1=1338970&r2=1338971&view=diff
==============================================================================
---
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java
(original)
+++
ofbiz/branches/release10.04/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java
Wed May 16 02:19:41 2012
@@ -1600,7 +1600,7 @@ public class UspsServices {
OutputStream os = new ByteArrayOutputStream();
try {
- UtilXml.writeXmlDocument(requestDocument, os, "UTF-8", true,
false, 0, false);
+ UtilXml.writeXmlDocument(requestDocument, os, "UTF-8", true,
false, 0);
} catch (TransformerException e) {
throw new UspsRequestException("Error serializing requestDocument:
" + e.getMessage());
}
Modified:
ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/string/UelFunctions.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/string/UelFunctions.java?rev=1338971&r1=1338970&r2=1338971&view=diff
==============================================================================
---
ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/string/UelFunctions.java
(original)
+++
ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/string/UelFunctions.java
Wed May 16 02:19:41 2012
@@ -469,7 +469,7 @@ public class UelFunctions {
File file = FileUtil.getFile(str);
if (file != null) {
FileOutputStream os = new FileOutputStream(file);
- UtilXml.writeXmlDocument(node, os, encoding,
omitXmlDeclaration, indent, indentAmount, false);
+ UtilXml.writeXmlDocument(node, os, encoding,
omitXmlDeclaration, indent, indentAmount);
os.close();
return true;
} else {
@@ -515,7 +515,7 @@ public class UelFunctions {
public static String toXmlString(Node node, String encoding, boolean
omitXmlDeclaration, boolean indent, int indentAmount) {
try {
ByteArrayOutputStream os = new ByteArrayOutputStream();
- UtilXml.writeXmlDocument(node, os, encoding, omitXmlDeclaration,
indent, indentAmount, false);
+ UtilXml.writeXmlDocument(node, os, encoding, omitXmlDeclaration,
indent, indentAmount);
os.close();
return os.toString();
} catch (Exception e) {