r4546 - trunk/src/edu/ucsb/nceas/metacat

daigle at ecoinformatics.org daigle at ecoinformatics.org
Mon Nov 10 15:20:03 PST 2008


Author: daigle
Date: 2008-11-10 15:20:03 -0800 (Mon, 10 Nov 2008)
New Revision: 4546

Modified:
   trunk/src/edu/ucsb/nceas/metacat/AuthInterface.java
Log:
Add some generic typing

Modified: trunk/src/edu/ucsb/nceas/metacat/AuthInterface.java
===================================================================
--- trunk/src/edu/ucsb/nceas/metacat/AuthInterface.java	2008-11-10 23:15:39 UTC (rev 4545)
+++ trunk/src/edu/ucsb/nceas/metacat/AuthInterface.java	2008-11-10 23:20:03 UTC (rev 4546)
@@ -29,6 +29,7 @@
 
 import java.net.ConnectException;
 import java.util.HashMap;
+import java.util.Vector;
 
 /**
  * An interface representing the methods that should be
@@ -85,7 +86,7 @@
    * @param user the user for which the attribute list is requested
    * @returns HashMap a map of attribute name to a Vector of values
    */
-  public HashMap getAttributes(String foruser)
+  public HashMap<String,Vector<String>> getAttributes(String foruser)
          throws ConnectException;
 
   /**
@@ -96,7 +97,7 @@
    * @param password the password for authenticating against the service
    * @returns HashMap a map of attribute name to a Vector of values
    */
-  public HashMap getAttributes(String user, String password, String foruser)
+  public HashMap<String,Vector<String>> getAttributes(String user, String password, String foruser)
          throws ConnectException;
 
   /**



More information about the Metacat-cvs mailing list