tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r780963 - /openejb/trunk/openejb3/examples/webapps/ejb-webservice/src/main/java/org/superbiz/ws/Calculator.java
Date Tue, 02 Jun 2009 08:01:25 GMT
Author: dblevins
Date: Tue Jun  2 08:01:24 2009
New Revision: 780963

URL: http://svn.apache.org/viewvc?rev=780963&view=rev
Log:
Reformatted

Modified:
    openejb/trunk/openejb3/examples/webapps/ejb-webservice/src/main/java/org/superbiz/ws/Calculator.java

Modified: openejb/trunk/openejb3/examples/webapps/ejb-webservice/src/main/java/org/superbiz/ws/Calculator.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/webapps/ejb-webservice/src/main/java/org/superbiz/ws/Calculator.java?rev=780963&r1=780962&r2=780963&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/webapps/ejb-webservice/src/main/java/org/superbiz/ws/Calculator.java
(original)
+++ openejb/trunk/openejb3/examples/webapps/ejb-webservice/src/main/java/org/superbiz/ws/Calculator.java
Tue Jun  2 08:01:24 2009
@@ -14,23 +14,23 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-    package org.superbiz.ws;
+package org.superbiz.ws;
 
-    import javax.ejb.Stateless;
-    import javax.jws.WebService;
+import javax.ejb.Stateless;
+import javax.jws.WebService;
 
-    @Stateless
-    @WebService(portName = "CalculatorPort",
-            serviceName = "CalculatorWebService",
-            targetNamespace = "http://superbiz.org/wsdl")
-    public class Calculator {
-        public int sum(int add1, int add2) {
-            return add1 + add2;
-        }
-
-        public int multiply(int mul1, int mul2) {
-            return mul1 * mul2;
-        }
+@Stateless
+@WebService(portName = "CalculatorPort",
+        serviceName = "CalculatorWebService",
+        targetNamespace = "http://superbiz.org/wsdl")
+public class Calculator {
+    public int sum(int add1, int add2) {
+        return add1 + add2;
+    }
 
+    public int multiply(int mul1, int mul2) {
+        return mul1 * mul2;
     }
 
+}
+



Mime
View raw message