You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/01/16 17:19:10 UTC
svn commit: r1779069 -
/axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java
Author: veithen
Date: Mon Jan 16 17:19:10 2017
New Revision: 1779069
URL: http://svn.apache.org/viewvc?rev=1779069&view=rev
Log:
AXIS2-5781: Don't overwrite files in the source tree.
Modified:
axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java
Modified: axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java?rev=1779069&r1=1779068&r2=1779069&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java (original)
+++ axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java Mon Jan 16 17:19:10 2017
@@ -122,8 +122,9 @@ public abstract class XMLSchemaTest exte
public String readWSDLFromFile(String path) throws Exception {
- File file=new File(path);
- XMLPrettyPrinter.prettify(file); //this is used to correct unnecessary formatting in the file
+ // Don't do this; it will overwrite a file in the source tree (see AXIS2-5781).
+// File file=new File(path);
+// XMLPrettyPrinter.prettify(file); //this is used to correct unnecessary formatting in the file
return readFile(path);
}