pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1567278 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/MapUtil.java
Date Tue, 11 Feb 2014 18:34:29 GMT
Author: tilman
Date: Tue Feb 11 18:34:28 2014
New Revision: 1567278

URL: http://svn.apache.org/r1567278
Log:
PDFBOX-1902: add generics as suggested by Jens Kapitza

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/MapUtil.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/MapUtil.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/MapUtil.java?rev=1567278&r1=1567277&r2=1567278&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/MapUtil.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/MapUtil.java Tue Feb 11
18:34:28 2014
@@ -39,7 +39,7 @@ public class MapUtil
      * @param prefix The prefix to use when generating the key.
      * @return The new unique key that does not currently exist in the map.
      */
-    public static final String getNextUniqueKey( Map map, String prefix )
+    public static final String getNextUniqueKey( Map<String,?> map, String prefix )
     {
         int counter = 0;
         while( map != null && map.get( prefix+counter ) != null )



Mime
View raw message