incubator-imperius-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daw...@apache.org
Subject svn commit: r945614 - /incubator/imperius/trunk/imperius-javaspl/src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java
Date Tue, 18 May 2010 12:20:01 GMT
Author: dawood
Date: Tue May 18 12:20:01 2010
New Revision: 945614

URL: http://svn.apache.org/viewvc?rev=945614&view=rev
Log:
Remove generics.

Modified:
    incubator/imperius/trunk/imperius-javaspl/src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java

Modified: incubator/imperius/trunk/imperius-javaspl/src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-javaspl/src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java?rev=945614&r1=945613&r2=945614&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-javaspl/src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java
(original)
+++ incubator/imperius/trunk/imperius-javaspl/src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java
Tue May 18 12:20:01 2010
@@ -167,7 +167,7 @@ public class JavaActuatorImpl implements
 		return m;
 	}
 
-	private static int parameterMatchDistance(Class<?>[] expectedTypes, Class[] givenTypes)
{
+	private static int parameterMatchDistance(Class[] expectedTypes, Class[] givenTypes) {
 		if (expectedTypes.length != givenTypes.length)
 			return -1; 	// No match is possible.
 		
@@ -188,7 +188,7 @@ public class JavaActuatorImpl implements
 	 * @param rhs
 	 * @return
 	 */
-	private static int typeMatchDistance(Class<?> lhs, Class rhs) {
+	private static int typeMatchDistance(Class lhs, Class rhs) {
 		int score = 0;
 		Class superClass = rhs;
 		boolean foundMatch = superClass.equals(lhs);



Mime
View raw message