commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088088 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
Date Sat, 02 Apr 2011 19:03:10 GMT
Author: simonetripodi
Date: Sat Apr  2 19:03:09 2011
New Revision: 1088088

URL: http://svn.apache.org/viewvc?rev=1088088&view=rev
Log:
fixed compiler warning on generic

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java?rev=1088088&r1=1088087&r2=1088088&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
Sat Apr  2 19:03:09 2011
@@ -52,7 +52,7 @@ public class PropertiesHolder {
      * 
      * @return Properties.  Load the properties if necessary.
      */
-    public Properties getProperties(SPInterface spi, ClassLoaders loaders) {
+    public Properties getProperties(SPInterface<?> spi, ClassLoaders loaders) {
         if (properties == null) {
             properties = ResourceUtils.loadProperties(spi.getSPClass(), getPropertiesFileName(),
loaders);
         }



Mime
View raw message