tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1511675 - /tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
Date Thu, 08 Aug 2013 10:25:15 GMT
Author: andygumbrecht
Date: Thu Aug  8 10:25:15 2013
New Revision: 1511675

URL: http://svn.apache.org/r1511675
Log:
Parameter is an array

Modified:
    tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java

Modified: tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java?rev=1511675&r1=1511674&r2=1511675&view=diff
==============================================================================
--- tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
(original)
+++ tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandler.java
Thu Aug  8 10:25:15 2013
@@ -32,8 +32,10 @@ public abstract class EJBHomeHandler ext
 
     protected static final Method GETEJBMETADATA = getMethod(EJBHome.class, "getEJBMetaData",
(Class) null);
     protected static final Method GETHOMEHANDLE = getMethod(EJBHome.class, "getHomeHandle",
(Class) null);
-    protected static final Method REMOVE_W_KEY = getMethod(EJBHome.class, "remove", Object.class);
-    protected static final Method REMOVE_W_HAND = getMethod(EJBHome.class, "remove", Handle.class);
+    @SuppressWarnings("RedundantArrayCreation")
+    protected static final Method REMOVE_W_KEY = getMethod(EJBHome.class, "remove", new Class[]{Object.class});
+    @SuppressWarnings("RedundantArrayCreation")
+    protected static final Method REMOVE_W_HAND = getMethod(EJBHome.class, "remove", new
Class[]{Handle.class});
     protected static final Method GETHANDLER = getMethod(EJBHomeProxy.class, "getEJBHomeHandler",
(Class) null);
 
     public EJBHomeHandler() {



Mime
View raw message