commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130727 - /commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/SetTextSegmentRule.java
Date Thu, 02 Jun 2011 18:53:55 GMT
Author: simonetripodi
Date: Thu Jun  2 18:53:55 2011
New Revision: 1130727

URL: http://svn.apache.org/viewvc?rev=1130727&view=rev
Log:
muted generics warnings

Modified:
    commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/SetTextSegmentRule.java

Modified: commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/SetTextSegmentRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/SetTextSegmentRule.java?rev=1130727&r1=1130726&r2=1130727&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/SetTextSegmentRule.java
(original)
+++ commons/sandbox/digester3/trunk/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/SetTextSegmentRule.java
Thu Jun  2 18:53:55 2011
@@ -55,7 +55,7 @@ public class SetTextSegmentRule
         Object target = getDigester().peek( 0 );
 
         // Call the specified method
-        Class paramTypes[] = new Class[] { String.class };
+        Class<?> paramTypes[] = new Class[] { String.class };
         MethodUtils.invokeMethod( target, methodName, new Object[] { text }, paramTypes );
     }
 



Mime
View raw message