maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joak...@apache.org
Subject svn commit: r507295 - /maven/wagon/trunk/wagon-manager/src/main/java/org/apache/maven/wagon/manager/DefaultWagonManager.java
Date Tue, 13 Feb 2007 23:16:36 GMT
Author: joakime
Date: Tue Feb 13 15:16:35 2007
New Revision: 507295

URL: http://svn.apache.org/viewvc?view=rev&rev=507295
Log:
Minor parameter update for clarity

Modified:
    maven/wagon/trunk/wagon-manager/src/main/java/org/apache/maven/wagon/manager/DefaultWagonManager.java

Modified: maven/wagon/trunk/wagon-manager/src/main/java/org/apache/maven/wagon/manager/DefaultWagonManager.java
URL: http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-manager/src/main/java/org/apache/maven/wagon/manager/DefaultWagonManager.java?view=diff&rev=507295&r1=507294&r2=507295
==============================================================================
--- maven/wagon/trunk/wagon-manager/src/main/java/org/apache/maven/wagon/manager/DefaultWagonManager.java
(original)
+++ maven/wagon/trunk/wagon-manager/src/main/java/org/apache/maven/wagon/manager/DefaultWagonManager.java
Tue Feb 13 15:16:35 2007
@@ -398,19 +398,19 @@
         }
     }
 
-    public void registerAvailableWagons( PlexusContainer container )
+    public void registerAvailableWagons( PlexusContainer searchContainer )
         throws ComponentLookupException
     {
         Map discoveredWagonProviders;
         try
         {
-            discoveredWagonProviders = container.lookupMap( Wagon.ROLE );
+            discoveredWagonProviders = searchContainer.lookupMap( Wagon.ROLE );
             Iterator it = discoveredWagonProviders.keySet().iterator();
 
             while ( it.hasNext() )
             {
                 String wagonHint = (String) it.next();
-                Wagon wagon = (Wagon) container.lookup( Wagon.ROLE, wagonHint );
+                Wagon wagon = (Wagon) searchContainer.lookup( Wagon.ROLE, wagonHint );
                 if ( !StringUtils.equals( wagon.getProtocol(), wagonHint ) )
                 {
                     throw new IllegalStateException( "Plexus Hint [" + wagonHint + "] and
Wagon.getProtocol() ["
@@ -421,7 +421,7 @@
                 // TODO: need to figure out how to remove a container.
                 // TODO: need to restore parent wagons if extension container overwrites
them.
 
-                this.availableWagons.put( wagonHint, container );
+                this.availableWagons.put( wagonHint, searchContainer );
             }
         }
         catch ( ComponentLookupException e )



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org


Mime
View raw message