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;
}
+}
+