deki closed pull request #372: [CXF-6134] Apache CXF generating constructor
with duplicate argument names causing compilation error
URL: https://github.com/apache/cxf/pull/372
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/fault.vm
b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/fault.vm
index 9f4cea85b0c..d61944f4aca 100644
---
a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/fault.vm
+++
b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/fault.vm
@@ -75,7 +75,7 @@ public class $expClass.Name extends $exceptionSuperclass {
#if ($markGenerated == "true")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date =
"$currentdate")
#end
- public ${expClass.Name}(String message, Throwable cause) {
+ public ${expClass.Name}(String message, java.lang.Throwable cause) {
super(message, cause);
}
@@ -90,7 +90,7 @@ public class $expClass.Name extends $exceptionSuperclass {
#if ($markGenerated == "true")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date =
"$currentdate")
#end
- public ${expClass.Name}(String message, $field.ClassName $paraName,
Throwable cause) {
+ public ${expClass.Name}(String message, $field.ClassName $paraName,
java.lang.Throwable cause) {
super(message, cause);
this.$paraName = $paraName;
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services