axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r453318 - in /webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java: InterfaceImplementationTemplate.xsl SkeletonInterfaceTemplate.xsl SkeletonTemplate.xsl
Date Thu, 05 Oct 2006 19:09:35 GMT
Author: dims
Date: Thu Oct  5 12:09:34 2006
New Revision: 453318

URL: http://svn.apache.org/viewvc?view=rev&rev=453318
Log:
cleanup commented unused code

Modified:
    webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
    webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl
    webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl

Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl?view=diff&rev=453318&r1=453317&r2=453318
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
(original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
Thu Oct  5 12:09:34 2006
@@ -716,39 +716,6 @@
         }
         return false;
     }
-
-
-     <!-- write the classes for the exceptions if there are any present
-   <xsl:for-each select="fault-list/fault">
-         public static class <xsl:value-of select="@shortName"/> extends java.lang.Exception{
-
-            private <xsl:value-of select="@type"/> faultMessage;
-
-            public <xsl:value-of select="@shortName"/>() {
-                super("<xsl:value-of select="@shortName"/>");
-            }
-       
-            public <xsl:value-of select="@shortName"/>(java.lang.String s) {
-               super(s);
-            }
-
-            public <xsl:value-of select="@shortName"/>(java.lang.String s, java.lang.Throwable
ex) {
-              super(s, ex);
-            }
-
-            public void setFaultMessage(<xsl:value-of select="@type"/> msg){
-               faultMessage = msg;
-            }
-
-            public <xsl:value-of select="@type"/> getFaultMessage(){
-               return faultMessage;
-            }
-
-
-
-         }
-   </xsl:for-each>
-     -->
      //<xsl:apply-templates><xsl:with-param name="context">interface-implementation</xsl:with-param></xsl:apply-templates>
    }
    </xsl:template>

Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl?view=diff&rev=453318&r1=453317&r2=453318
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl
(original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl
Thu Oct  5 12:09:34 2006
@@ -49,37 +49,6 @@
            </xsl:for-each>;
      </xsl:for-each>
 
-
-         <!-- write the classes for the exceptions if there are any present
-   <xsl:for-each select="fault-list/fault">
-         public static class <xsl:value-of select="@shortName"/> extends java.lang.Exception{
-
-            private <xsl:value-of select="@type"/> faultMessage;
-
-            public <xsl:value-of select="@shortName"/>() {
-                super("<xsl:value-of select="@shortName"/>");
-            }
-
-            public <xsl:value-of select="@shortName"/>(java.lang.String s) {
-               super(s);
-            }
-
-            public <xsl:value-of select="@shortName"/>(java.lang.String s, java.lang.Throwable
ex) {
-              super(s, ex);
-            }
-
-            public void setFaultMessage(<xsl:value-of select="@type"/> msg){
-               faultMessage = msg;
-            }
-
-            public <xsl:value-of select="@type"/> getFaultMessage(){
-               return faultMessage;
-            }
-
-
-         }
-   </xsl:for-each>
-    -->
          }
     </xsl:template>
  </xsl:stylesheet>

Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl?view=diff&rev=453318&r1=453317&r2=453318
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl
(original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl
Thu Oct  5 12:09:34 2006
@@ -56,43 +56,6 @@
                 <xsl:if test="$outputtype!=''">throw new  java.lang.UnsupportedOperationException("Please
implement " + this.getClass().getName() + "#<xsl:value-of select="@name"/>");</xsl:if>
         }
      </xsl:for-each>
-
-        <!-- we write the faults here only if it is not the interface mode-->
-        <xsl:if test="not(@skeletonInterfaceName)">
-            <!-- write the classes for the exceptions if there are any present
-            
-            <xsl:for-each select="fault-list/fault">
-                public static class <xsl:value-of select="@shortName"/> extends java.lang.Exception{
-
-                private <xsl:value-of select="@type"/> faultMessage;
-
-                public <xsl:value-of select="@shortName"/>() {
-                   super("<xsl:value-of select="@shortName"/>");
-                }
-
-                public <xsl:value-of select="@shortName"/>(java.lang.String s, <xsl:value-of
select="@type"/> msg) {
-                   super(s);
-                   faultMessage = msg;
-                }
-
-                public <xsl:value-of select="@shortName"/>(java.lang.String s, <xsl:value-of
select="@type"/> msg, java.lang.Throwable ex) {
-                  super(s, ex);
-                  faultMessage = msg;
-                }
-
-                public void setFaultMessage(<xsl:value-of select="@type"/> msg){
-                    faultMessage = msg;
-                }
-
-                public <xsl:value-of select="@type"/> getFaultMessage(){
-                   return faultMessage;
-                }
-
-
-                }
-            </xsl:for-each>
-             -->
-        </xsl:if>
     }
     </xsl:template>
  </xsl:stylesheet>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message