You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2012/12/03 03:32:39 UTC

svn commit: r1416336 - /openejb/trunk/openejb/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/WebServiceWithAnUserInterceptorTest.java

Author: dblevins
Date: Mon Dec  3 02:32:38 2012
New Revision: 1416336

URL: http://svn.apache.org/viewvc?rev=1416336&view=rev
Log:
formatting

Modified:
    openejb/trunk/openejb/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/WebServiceWithAnUserInterceptorTest.java

Modified: openejb/trunk/openejb/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/WebServiceWithAnUserInterceptorTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/WebServiceWithAnUserInterceptorTest.java?rev=1416336&r1=1416335&r2=1416336&view=diff
==============================================================================
--- openejb/trunk/openejb/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/WebServiceWithAnUserInterceptorTest.java (original)
+++ openejb/trunk/openejb/server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/WebServiceWithAnUserInterceptorTest.java Mon Dec  3 02:32:38 2012
@@ -40,7 +40,8 @@ import static org.junit.Assert.assertNot
 public class WebServiceWithAnUserInterceptorTest {
     private static EJBContainer container;
 
-    @BeforeClass public static void start() {
+    @BeforeClass
+    public static void start() {
         final Properties properties = new Properties();
         properties.setProperty(DeploymentFilterable.CLASSPATH_INCLUDE, ".*openejb-cxf.*");
         properties.setProperty(OpenEjbContainer.OPENEJB_EMBEDDED_REMOTABLE, "true");
@@ -48,11 +49,13 @@ public class WebServiceWithAnUserInterce
         container = EJBContainer.createEJBContainer(properties);
     }
 
-    @AfterClass public static void close() {
+    @AfterClass
+    public static void close() {
         container.close();
     }
 
-    @Test public void test() throws Exception {
+    @Test
+    public void test() throws Exception {
         Foo foo = Service.create(
                 new URL("http://localhost:4204/openejb-cxf/FooImpl?wsdl"),
                 new QName("http://cxf.server.openejb.apache.org/", "FooImplService"))
@@ -63,7 +66,7 @@ public class WebServiceWithAnUserInterce
 
     @WebService
     @Stateless
-    @Interceptors({ BarInterceptor.class })
+    @Interceptors({BarInterceptor.class})
     public static class FooImpl implements Foo {
         public String hi() {
             return "foo";
@@ -76,7 +79,8 @@ public class WebServiceWithAnUserInterce
     }
 
     public static class BarInterceptor {
-        @AroundInvoke public Object around(InvocationContext ic) throws Exception {
+        @AroundInvoke
+        public Object around(InvocationContext ic) throws Exception {
             return "bar";
         }
     }