Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapters-rest-interface / src / test / java / org / onap / so / adapters / vdu / BeansTest.java
index e681d43..d7704a4 100644 (file)
@@ -21,7 +21,6 @@
 package org.onap.so.adapters.vdu;
 
 import org.junit.Test;
-
 import com.openpojo.reflection.PojoClass;
 import com.openpojo.reflection.PojoClassFilter;
 import com.openpojo.reflection.filters.FilterPackageInfo;
@@ -33,24 +32,22 @@ import com.openpojo.validation.test.impl.SetterTester;
 
 public class BeansTest {
 
-       private PojoClassFilter filterTestClasses = new FilterTestClasses();
+    private PojoClassFilter filterTestClasses = new FilterTestClasses();
+
+    @Test
+    public void pojoStructure() {
+        test("org.onap.so.adapters.vdu");
+    }
 
-       @Test
-       public void pojoStructure() {
-               test("org.onap.so.adapters.vdu");
-       }
+    private void test(String pojoPackage) {
+        Validator validator = ValidatorBuilder.create().with(new GetterMustExistRule()).with(new SetterTester())
+                .with(new GetterTester()).build();
+        validator.validate(pojoPackage, new FilterPackageInfo(), filterTestClasses);
+    }
 
-       private void test(String pojoPackage) {
-               Validator validator = ValidatorBuilder.create()
-                               .with(new GetterMustExistRule())
-                               .with(new SetterTester())
-                               .with(new GetterTester())
-                               .build();
-               validator.validate(pojoPackage, new FilterPackageInfo(), filterTestClasses);
-       }
-       private static class FilterTestClasses implements PojoClassFilter {
-               public boolean include(PojoClass pojoClass) {
-                       return !pojoClass.getSourcePath().contains("/test-classes/");
-               }
-       }
+    private static class FilterTestClasses implements PojoClassFilter {
+        public boolean include(PojoClass pojoClass) {
+            return !pojoClass.getSourcePath().contains("/test-classes/");
+        }
+    }
 }