[jboss-osgi-commits] JBoss-OSGI SVN: r91204 - projects/jboss-osgi/trunk/reactor/bundles/husky/harness/src/main/java/org/jboss/osgi/husky/runtime/osgi.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Tue Jul 14 07:37:53 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-07-14 07:37:53 -0400 (Tue, 14 Jul 2009)
New Revision: 91204

Modified:
   projects/jboss-osgi/trunk/reactor/bundles/husky/harness/src/main/java/org/jboss/osgi/husky/runtime/osgi/HuskyExtender.java
Log:
layout code

Modified: projects/jboss-osgi/trunk/reactor/bundles/husky/harness/src/main/java/org/jboss/osgi/husky/runtime/osgi/HuskyExtender.java
===================================================================
--- projects/jboss-osgi/trunk/reactor/bundles/husky/harness/src/main/java/org/jboss/osgi/husky/runtime/osgi/HuskyExtender.java	2009-07-14 11:36:38 UTC (rev 91203)
+++ projects/jboss-osgi/trunk/reactor/bundles/husky/harness/src/main/java/org/jboss/osgi/husky/runtime/osgi/HuskyExtender.java	2009-07-14 11:37:53 UTC (rev 91204)
@@ -41,8 +41,7 @@
 import org.osgi.service.log.LogService;
 
 /**
- * The Husky extender is a {@link BundleListener} that checkes
- * the {@link #HEADER_TEST_PACKAGE} 
+ * The Husky extender is a {@link BundleListener} that checkes the {@link #HEADER_TEST_PACKAGE}
  * 
  * @author Thomas.Diesler at jboss.com
  * @since 17-May-2009
@@ -51,7 +50,7 @@
 {
    /** The manifest header that identifies a bundle as Husky test bundle: 'Test-Package' */
    public static final String HEADER_TEST_PACKAGE = "Test-Package";
-   
+
    private BundleContext context;
    private LogService log;
 
@@ -94,7 +93,6 @@
       if (srefs != null)
       {
          log.log(LogService.LOG_INFO, "Register test packages " + packages);
-         
          for (ServiceReference sref : srefs)
          {
             Connector connector = (Connector)context.getService(sref);
@@ -115,7 +113,7 @@
       {
          // cannot get here
       }
-      
+
       if (srefs != null)
       {
          log.log(LogService.LOG_INFO, "Unregister test packages " + packages);
@@ -137,7 +135,7 @@
       String testPackage = (String)bundle.getHeaders().get(HEADER_TEST_PACKAGE);
       if (testPackage != null)
          return Arrays.asList(testPackage.split("[,\\s]"));
-      
+
       return null;
    }
 }
\ No newline at end of file




More information about the jboss-osgi-commits mailing list