directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1689278 - in /directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi: ApiLdapCodecCoreOsgiTest.java ApiOsgiTestBase.java
Date Sun, 05 Jul 2015 18:50:09 GMT
Author: seelmann
Date: Sun Jul  5 18:50:09 2015
New Revision: 1689278

URL: http://svn.apache.org/r1689278
Log:
Fix checkstyle violations

Modified:
    directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
    directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java

Modified: directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java?rev=1689278&r1=1689277&r2=1689278&view=diff
==============================================================================
--- directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
(original)
+++ directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
Sun Jul  5 18:50:09 2015
@@ -98,7 +98,7 @@ public class ApiLdapCodecCoreOsgiTest ex
     @Test
     public void testLdapApiServiceFactoryIsInitializedByOsgi()
     {
-        assertTrue( LdapApiServiceFactory.isInitialized() );;
+        assertTrue( LdapApiServiceFactory.isInitialized() );
         assertFalse( LdapApiServiceFactory.isUsingStandaloneImplementation() );
         assertNotNull( LdapApiServiceFactory.getSingleton() );
         assertNotNull( LdapApiServiceFactory.getSingleton().getProtocolCodecFactory() );

Modified: directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java?rev=1689278&r1=1689277&r2=1689278&view=diff
==============================================================================
--- directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java
(original)
+++ directory/shared/trunk/integ-osgi/src/test/java/org/apache/directory/api/osgi/ApiOsgiTestBase.java
Sun Jul  5 18:50:09 2015
@@ -61,13 +61,13 @@ public abstract class ApiOsgiTestBase
     @Inject
     protected BundleContext context;
 
-    private static Set<String> SKIPS = new HashSet<String>();
-    static
-    {
-        // SKIPS.add( "antlr-2.7.7.jar" );
-        // SKIPS.add( "xpp3-1.1.4c.jar" );
-        // SKIPS.add( "dom4j-1.6.1.jar" );
-    }
+    private static Set<String> skips = new HashSet<String>();
+//    static
+//    {
+//        skips.add( "antlr-2.7.7.jar" );
+//        skips.add( "xpp3-1.1.4c.jar" );
+//        skips.add( "dom4j-1.6.1.jar" );
+//    }
 
 
     @Configuration
@@ -81,7 +81,7 @@ public abstract class ApiOsgiTestBase
         File[] files = targetDependenciesDir.listFiles();
         for ( File file : files )
         {
-            if ( !SKIPS.contains( file.getName() ) )
+            if ( !skips.contains( file.getName() ) )
             {
                 dependencies.add( url( file.toURI().toString() ) );
             }



Mime
View raw message