incubator-ftpserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r611110 - in /incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet: Configuration.java User.java
Date Fri, 11 Jan 2008 08:51:00 GMT
Author: ngn
Date: Fri Jan 11 00:50:59 2008
New Revision: 611110

URL: http://svn.apache.org/viewvc?rev=611110&view=rev
Log:
Clean up and adding generics arguments

Modified:
    incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/Configuration.java
    incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/User.java

Modified: incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/Configuration.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/Configuration.java?rev=611110&r1=611109&r2=611110&view=diff
==============================================================================
--- incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/Configuration.java
(original)
+++ incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/Configuration.java
Fri Jan 11 00:50:59 2008
@@ -92,5 +92,5 @@
      * Get the configuration keys. The order of the keys is not guaranteed
      * to be the same as that of the input.
      */
-    Iterator getKeys();
+    Iterator<String> getKeys();
 }

Modified: incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/User.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/User.java?rev=611110&r1=611109&r2=611110&view=diff
==============================================================================
--- incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/User.java
(original)
+++ incubator/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/User.java
Fri Jan 11 00:50:59 2008
@@ -41,7 +41,7 @@
      */
     Authority[] getAuthorities();
 
-    Authority[] getAuthorities(Class clazz);
+    Authority[] getAuthorities(Class<Authority> clazz);
 
     /**
      * Authorize a {@link AuthorizationRequest} for this user



Mime
View raw message