directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vte...@apache.org
Subject svn commit: r291816 - in /directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm: CredentialSetMapping.java Mapping.java Table.java TableMapping.java
Date Tue, 27 Sep 2005 04:15:21 GMT
Author: vtence
Date: Mon Sep 26 21:15:15 2005
New Revision: 291816

URL: http://svn.apache.org/viewcvs?rev=291816&view=rev
Log:
Renamed Mapping to more explicit TableMapping

Added:
    directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/TableMapping.java
      - copied, changed from r280223, directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Mapping.java
Removed:
    directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Mapping.java
Modified:
    directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/CredentialSetMapping.java
    directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Table.java

Modified: directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/CredentialSetMapping.java
URL: http://svn.apache.org/viewcvs/directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/CredentialSetMapping.java?rev=291816&r1=291815&r2=291816&view=diff
==============================================================================
--- directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/CredentialSetMapping.java
(original)
+++ directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/CredentialSetMapping.java
Mon Sep 26 21:15:15 2005
@@ -6,7 +6,7 @@
 import java.util.Iterator;
 import java.util.Map;
 
-public class CredentialSetMapping implements Mapping
+public class CredentialSetMapping implements TableMapping
 {
     public Class getMappedType()
     {
@@ -18,8 +18,7 @@
         CredentialSet creds = new CredentialSet();
         for ( Iterator it = columns.keySet().iterator(); it.hasNext(); )
         {
-            Object key = it.next();
-            Column column = (Column) columns.get( key );
+            Column column = (Column) columns.get( it.next() );
             creds.add( column.getProperty( rs ) );
         }
 

Modified: directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Table.java
URL: http://svn.apache.org/viewcvs/directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Table.java?rev=291816&r1=291815&r2=291816&view=diff
==============================================================================
--- directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Table.java (original)
+++ directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Table.java Mon
Sep 26 21:15:15 2005
@@ -26,14 +26,14 @@
 {
     private final String m_name;
     private final Map m_columns;
-    private final Mapping m_mapping;
+    private final TableMapping m_mapping;
 
     public Table( String name )
     {
         this( name, new CredentialSetMapping() );
     }
 
-    public Table( String name, Mapping mapping )
+    public Table( String name, TableMapping mapping )
     {
         m_name = name;
         m_columns = new HashMap();

Copied: directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/TableMapping.java
(from r280223, directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Mapping.java)
URL: http://svn.apache.org/viewcvs/directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/TableMapping.java?p2=directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/TableMapping.java&p1=directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Mapping.java&r1=280223&r2=291816&rev=291816&view=diff
==============================================================================
--- directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/Mapping.java
(original)
+++ directory/authx/trunk/jdbc/src/java/org/apache/authx/authentication/realm/TableMapping.java
Mon Sep 26 21:15:15 2005
@@ -3,7 +3,7 @@
 import java.util.Map;
 import java.sql.ResultSet;
 
-public interface Mapping
+public interface TableMapping
 {
     Class getMappedType();
 



Mime
View raw message