Author: veithen
Date: Mon Dec 25 19:48:59 2017
New Revision: 1819257

URL: http://svn.apache.org/viewvc?rev=1819257&view=rev
Log:
Replace tabs with spaces.

Modified:
    
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java

Modified: 
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java?rev=1819257&r1=1819256&r2=1819257&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java
 Mon Dec 25 19:48:59 2017
@@ -47,142 +47,142 @@ import java.util.Set;
 
 public class PolymorphicTests extends AbstractTestCase {
     String axisEndpoint = 
"http://localhost:6060/axis2/services/PolymorphicShapeService.PolymorphicShapePort";;
-       
+    
     public static Test suite() {
         return getTestSetup(new TestSuite(PolymorphicTests.class));
     }
 
-       public void testFormalAndActualTypeInDifferentPackages(){
+    public void testFormalAndActualTypeInDifferentPackages(){
         TestLogger.logger.debug("------------------------------");
         TestLogger.logger.debug("Test : " + getName());
-               PolymorphicShapeService service = new PolymorphicShapeService();
-               PolymorphicShapePortType port = 
service.getPolymorphicShapePort();
+        PolymorphicShapeService service = new PolymorphicShapeService();
+        PolymorphicShapePortType port = service.getPolymorphicShapePort();
         BindingProvider p = (BindingProvider) port;
         p.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 
axisEndpoint);
 
-               Shape shapeType;
+        Shape shapeType;
 
         TestLogger.logger.debug("Sending Request to draw Square");
-               Square shape = new Square();
-               shape.setXAxis(1);
-               shape.setYAxis(1);
-               shape.setLength(10);
-               shapeType = port.draw(shape);
-               assertTrue(shapeType instanceof Square);
+        Square shape = new Square();
+        shape.setXAxis(1);
+        shape.setYAxis(1);
+        shape.setLength(10);
+        shapeType = port.draw(shape);
+        assertTrue(shapeType instanceof Square);
         TestLogger.logger.debug("Square was drawn");
 
         TestLogger.logger.debug("Sending Request to draw 3D Square");
-               ThreeDSquare threeDshape = new ThreeDSquare();
-               threeDshape.setXAxis(1);
-               threeDshape.setYAxis(1);
-               threeDshape.setLength(10);
-               threeDshape.setWidth(10);
-               threeDshape.setBredth(10);
-               shapeType = port.draw3D(threeDshape);
-               assertTrue(shapeType instanceof ThreeDSquare);
+        ThreeDSquare threeDshape = new ThreeDSquare();
+        threeDshape.setXAxis(1);
+        threeDshape.setYAxis(1);
+        threeDshape.setLength(10);
+        threeDshape.setWidth(10);
+        threeDshape.setBredth(10);
+        shapeType = port.draw3D(threeDshape);
+        assertTrue(shapeType instanceof ThreeDSquare);
         TestLogger.logger.debug("3D Square was drawn");
         TestLogger.logger.debug("-------------------------------");
-       }
-       
-       public void testInlineUseOfJAXBBinding(){
+    }
+    
+    public void testInlineUseOfJAXBBinding(){
         TestLogger.logger.debug("------------------------------");
         TestLogger.logger.debug("Test : " + getName());
-               String schemaBindingPkgName = "org.test.echomessage";
-               String standardPkgName= "org.test.complextype.nonanonymous";
-               String 
wsdlLocation="test-resources/wsdl/JAXB_Customization_Sample.wsdl";
-               URL url = null;
-               try{
-                       try{
-                               String baseDir = new 
File(System.getProperty("basedir",".")).getCanonicalPath();
-                               wsdlLocation = new File(baseDir 
+File.separator+ wsdlLocation).getAbsolutePath();
-                       }catch(Exception e){
-                               e.printStackTrace();
-                               fail();
-                       }
-                       File file = new File(wsdlLocation);
-                       url = file.toURI().toURL();
-                       WSDLWrapper wsdlWrapper = new WSDL4JWrapper(url);
-                       org.apache.axis2.jaxws.wsdl.SchemaReader sr= new 
SchemaReaderImpl();
-                       Set<String> set= 
sr.readPackagesFromSchema(wsdlWrapper.getDefinition());
-                       assertNotNull(set);
-                       Iterator<String> iter = set.iterator();
-                       while(iter.hasNext()){
-                               String pkg = iter.next();
+        String schemaBindingPkgName = "org.test.echomessage";
+        String standardPkgName= "org.test.complextype.nonanonymous";
+        String 
wsdlLocation="test-resources/wsdl/JAXB_Customization_Sample.wsdl";
+        URL url = null;
+        try{
+            try{
+                String baseDir = new 
File(System.getProperty("basedir",".")).getCanonicalPath();
+                wsdlLocation = new File(baseDir +File.separator+ 
wsdlLocation).getAbsolutePath();
+            }catch(Exception e){
+                e.printStackTrace();
+                fail();
+            }
+            File file = new File(wsdlLocation);
+            url = file.toURI().toURL();
+            WSDLWrapper wsdlWrapper = new WSDL4JWrapper(url);
+            org.apache.axis2.jaxws.wsdl.SchemaReader sr= new 
SchemaReaderImpl();
+            Set<String> set= 
sr.readPackagesFromSchema(wsdlWrapper.getDefinition());
+            assertNotNull(set);
+            Iterator<String> iter = set.iterator();
+            while(iter.hasNext()){
+                String pkg = iter.next();
                 TestLogger.logger.debug("Package = " + pkg);
-                       }
+            }
             TestLogger.logger.debug("------------------------------");
-               } catch (MalformedURLException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(FileNotFoundException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(UnknownHostException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(ConnectException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(IOException e) {
-                   e.printStackTrace();
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+            fail();
+        }catch(FileNotFoundException e) {
+            e.printStackTrace();
+            fail();
+        }catch(UnknownHostException e) {
+            e.printStackTrace();
+            fail();
+        }catch(ConnectException e) {
+            e.printStackTrace();
+            fail();
+        }catch(IOException e) {
+            e.printStackTrace();
             fail();
         }catch(WSDLException e){
-                       e.printStackTrace();
-                       fail();
-               }catch(SchemaReaderException e){
-                       e.printStackTrace();
-                       fail();
-               }
-       }
-       
-       public void testSchemaReader(){
+            e.printStackTrace();
+            fail();
+        }catch(SchemaReaderException e){
+            e.printStackTrace();
+            fail();
+        }
+    }
+    
+    public void testSchemaReader(){
         TestLogger.logger.debug("------------------------------");
         TestLogger.logger.debug("Test : " + getName());
-               String wsdlLocation="test-resources/wsdl/shapes.wsdl";
-               URL url = null;
-               try{
-                       try{
-                               String baseDir = new 
File(System.getProperty("basedir",".")).getCanonicalPath();
-                               wsdlLocation = new File(baseDir 
+File.separator+ wsdlLocation).getAbsolutePath();
-                       }catch(Exception e){
-                               e.printStackTrace();
-                               fail();
-                       }
-                       File file = new File(wsdlLocation);
-                       url = file.toURI().toURL();
-                       WSDLWrapper wsdlWrapper = new WSDL4JWrapper(url);
-                       org.apache.axis2.jaxws.wsdl.SchemaReader sr= new 
SchemaReaderImpl();
-                       Set<String> set= 
sr.readPackagesFromSchema(wsdlWrapper.getDefinition());
-                       assertNotNull(set);
-                       Iterator<String> iter = set.iterator();
-                       while(iter.hasNext()){
+        String wsdlLocation="test-resources/wsdl/shapes.wsdl";
+        URL url = null;
+        try{
+            try{
+                String baseDir = new 
File(System.getProperty("basedir",".")).getCanonicalPath();
+                wsdlLocation = new File(baseDir +File.separator+ 
wsdlLocation).getAbsolutePath();
+            }catch(Exception e){
+                e.printStackTrace();
+                fail();
+            }
+            File file = new File(wsdlLocation);
+            url = file.toURI().toURL();
+            WSDLWrapper wsdlWrapper = new WSDL4JWrapper(url);
+            org.apache.axis2.jaxws.wsdl.SchemaReader sr= new 
SchemaReaderImpl();
+            Set<String> set= 
sr.readPackagesFromSchema(wsdlWrapper.getDefinition());
+            assertNotNull(set);
+            Iterator<String> iter = set.iterator();
+            while(iter.hasNext()){
                 TestLogger.logger.debug("Package =" + iter.next());
-                       }
+            }
             TestLogger.logger.debug("------------------------------");
-               } catch (MalformedURLException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(FileNotFoundException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(UnknownHostException e) {
-                       e.printStackTrace();
-                       fail();
-               }catch(ConnectException e) {
-                       e.printStackTrace();
-                       fail();
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+            fail();
+        }catch(FileNotFoundException e) {
+            e.printStackTrace();
+            fail();
+        }catch(UnknownHostException e) {
+            e.printStackTrace();
+            fail();
+        }catch(ConnectException e) {
+            e.printStackTrace();
+            fail();
         }catch(IOException e) {
             e.printStackTrace();
             fail();
-               }catch(WSDLException e){
-                       e.printStackTrace();
-                       fail();
-               }catch(SchemaReaderException e){
-                       e.printStackTrace();
-                       fail();
-               }
-               
-               
-                       
-       }
+        }catch(WSDLException e){
+            e.printStackTrace();
+            fail();
+        }catch(SchemaReaderException e){
+            e.printStackTrace();
+            fail();
+        }
+        
+        
+                
+    }
 }


Reply via email to