felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1690726 - /felix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java
Date Mon, 13 Jul 2015 15:19:04 GMT
Author: gnodet
Date: Mon Jul 13 15:19:03 2015
New Revision: 1690726

URL: http://svn.apache.org/r1690726
Log:
[FELIX-4942] Iterate through values instead of entries

Modified:
    felix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java

Modified: felix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java?rev=1690726&r1=1690725&r2=1690726&view=diff
==============================================================================
--- felix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java (original)
+++ felix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java Mon Jul
13 15:19:03 2015
@@ -878,12 +878,12 @@ public class ResolverImpl implements Res
             {
                 // We have to merge all exported packages from the candidate,
                 // since the current resource requires it.
-                for (Entry<String, Blame> entry : candPkgs.m_exportedPkgs.fast())
+                for (Blame blame : candPkgs.m_exportedPkgs.values())
                 {
                     mergeCandidatePackage(
                         resourcePkgMap.get(current).m_requiredPkgs,
                         currentReq,
-                        entry.getValue().m_cap);
+                        blame.m_cap);
                 }
             }
 



Mime
View raw message