Author: manik.surtani(a)jboss.com
Date: 2008-01-04 08:01:55 -0500 (Fri, 04 Jan 2008)
New Revision: 4978
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/MethodDeclarations.java
Log:
Unnecessary boxing
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/MethodDeclarations.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/MethodDeclarations.java 2008-01-04
12:19:46 UTC (rev 4977)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/MethodDeclarations.java 2008-01-04
13:01:55 UTC (rev 4978)
@@ -430,7 +430,7 @@
*/
public static boolean isCrudMethod(int id)
{
- return crudMethodIds.contains(Integer.valueOf(id));
+ return crudMethodIds.contains(id);
}
public static boolean isTransactionLifecycleMethod(int id)
Show replies by date