directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1775793 - /directory/shared/trunk/util/src/main/java/org/apache/directory/api/util/EmptyEnumeration.java
Date Fri, 23 Dec 2016 06:06:50 GMT
Author: elecharny
Date: Fri Dec 23 06:06:50 2016
New Revision: 1775793

URL: http://svn.apache.org/viewvc?rev=1775793&view=rev
Log:
Use <T> instead of <Object>

Modified:
    directory/shared/trunk/util/src/main/java/org/apache/directory/api/util/EmptyEnumeration.java

Modified: directory/shared/trunk/util/src/main/java/org/apache/directory/api/util/EmptyEnumeration.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/util/src/main/java/org/apache/directory/api/util/EmptyEnumeration.java?rev=1775793&r1=1775792&r2=1775793&view=diff
==============================================================================
--- directory/shared/trunk/util/src/main/java/org/apache/directory/api/util/EmptyEnumeration.java
(original)
+++ directory/shared/trunk/util/src/main/java/org/apache/directory/api/util/EmptyEnumeration.java
Fri Dec 23 06:06:50 2016
@@ -31,10 +31,11 @@ import javax.naming.NamingEnumeration;
  * hasMore/hasMoreElements() always returns false, and next/nextElement() always
  * throws a NoSuchElementException.
  * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @param <T> The element in the enumeration
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class EmptyEnumeration<T> implements NamingEnumeration<Object>
+public class EmptyEnumeration<T> implements NamingEnumeration<T>
 {
     /**
      * @see javax.naming.NamingEnumeration#close()



Mime
View raw message