felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r374401 - in /incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix: framework/searchpolicy/R4Library.java framework/searchpolicy/R4SearchPolicyCore.java moduleloader/ILibrary.java
Date Thu, 02 Feb 2006 14:50:37 GMT
Author: rickhall
Date: Thu Feb  2 06:50:33 2006
New Revision: 374401

URL: http://svn.apache.org/viewcvs?rev=374401&view=rev
Log:
The ILibrary interface was superfluous so it was deleted and the impacted
classes were modified.

Removed:
    incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/moduleloader/ILibrary.java
Modified:
    incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4Library.java
    incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java

Modified: incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4Library.java
URL: http://svn.apache.org/viewcvs/incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4Library.java?rev=374401&r1=374400&r2=374401&view=diff
==============================================================================
--- incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4Library.java
(original)
+++ incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4Library.java
Thu Feb  2 06:50:33 2006
@@ -18,10 +18,9 @@
 
 import org.apache.felix.framework.Logger;
 import org.apache.felix.framework.cache.BundleCache;
-import org.apache.felix.moduleloader.ILibrary;
 import org.osgi.framework.Constants;
 
-public class R4Library implements ILibrary
+public class R4Library
 {
     private Logger m_logger = null;
     private BundleCache m_cache = null;
@@ -44,6 +43,13 @@
         m_header = header;
     }
 
+    /**
+     * <p>
+     * Returns a file system path to the specified library.
+     * </p>
+     * @param name the name of the library that is being requested.
+     * @return a file system path to the specified library.
+    **/
     public String getPath(String name)
     {
         if (m_header != null)

Modified: incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java
URL: http://svn.apache.org/viewcvs/incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java?rev=374401&r1=374400&r2=374401&view=diff
==============================================================================
--- incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java
(original)
+++ incubator/felix/sandbox/rickhall/framework-branch/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java
Thu Feb  2 06:50:33 2006
@@ -684,7 +684,7 @@
 
         // TODO: This "matching" algorithm does not fully
         // match the spec and should be improved.
-        ILibrary[] libs = getLibraries(module);
+        R4Library[] libs = getLibraries(module);
         for (int i = 0; (libs != null) && (i < libs.length); i++)
         {
             String path = libs[i].getPath(name);



Mime
View raw message