You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2006/07/17 13:04:20 UTC

svn commit: r422676 - /incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java

Author: rickhall
Date: Mon Jul 17 04:04:19 2006
New Revision: 422676

URL: http://svn.apache.org/viewvc?rev=422676&view=rev
Log:
Removed an unnecessary if-statement since it could not be false.

Modified:
    incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java

Modified: incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java?rev=422676&r1=422675&r2=422676&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java (original)
+++ incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java Mon Jul 17 04:04:19 2006
@@ -207,12 +207,8 @@
                     }
                 }
 
-                // Get the bundles parameter for the current
-                // refresh request.
-                if (m_reqBundles != null)
-                {
-                    bundles = m_reqBundles[0];
-                }
+                // Get the bundles parameter for the current refresh request.
+                bundles = m_reqBundles[0];
             }
 
             // Perform refresh.