maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r794821 - in /maven/components/trunk/maven-compat/src: main/java/org/apache/maven/artifact/repository/ main/java/org/apache/maven/repository/legacy/ test/java/org/apache/maven/repository/
Date Thu, 16 Jul 2009 20:05:57 GMT
Author: jvanzyl
Date: Thu Jul 16 20:05:57 2009
New Revision: 794821

URL: http://svn.apache.org/viewvc?rev=794821&view=rev
Log:
o missing bits

Removed:
    maven/components/trunk/maven-compat/src/test/java/org/apache/maven/repository/LegacyMavenRepositorySystemTest.java
Modified:
    maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/repository/Authentication.java
    maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

Modified: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/repository/Authentication.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/repository/Authentication.java?rev=794821&r1=794820&r2=794821&view=diff
==============================================================================
--- maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/repository/Authentication.java
(original)
+++ maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/repository/Authentication.java
Thu Jul 16 20:05:57 2009
@@ -23,14 +23,14 @@
 {    
     public Authentication( String userName, String password )
     {
-        this.userName = userName;
+        this.username = userName;
         this.password = password;
     }
 
     /**
      * Username used to login to the host
      */
-    private String userName;
+    private String username;
 
     /**
      * Password associated with the login
@@ -62,9 +62,9 @@
      * 
      * @return username at repository
      */
-    public String getUserName()
+    public String getUsername()
     {
-        return userName;
+        return username;
     }
 
     /**
@@ -72,8 +72,8 @@
      * 
      * @param userName the username used to access repository
      */
-    public void setUserName( final String userName )
+    public void setUsername( final String userName )
     {
-        this.userName = userName;
+        this.username = userName;
     }
 }

Modified: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java?rev=794821&r1=794820&r2=794821&view=diff
==============================================================================
--- maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
(original)
+++ maven/components/trunk/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Thu Jul 16 20:05:57 2009
@@ -227,7 +227,7 @@
             // We have authentication we have been asked to deal with.
             //
             AuthenticationInfo ai = new AuthenticationInfo();
-            ai.setUserName( repository.getAuthentication().getUserName() );
+            ai.setUserName( repository.getAuthentication().getUsername() );
             ai.setPassword( repository.getAuthentication().getPassword() );
             
             wagon.connect( new Repository( repository.getId(), repository.getUrl() ), ai
);                    



Mime
View raw message