geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r454370 - /geronimo/server/trunk/modules/geronimo-connector/src/main/java/org/apache/geronimo/connector/JCAResourceImpl.java
Date Mon, 09 Oct 2006 13:12:08 GMT
Author: akulshreshtha
Date: Mon Oct  9 06:12:07 2006
New Revision: 454370

URL: http://svn.apache.org/viewvc?view=rev&rev=454370
Log:
GERONIMO-2477 Fixed NPE in JCAResourceImpl

Modified:
    geronimo/server/trunk/modules/geronimo-connector/src/main/java/org/apache/geronimo/connector/JCAResourceImpl.java

Modified: geronimo/server/trunk/modules/geronimo-connector/src/main/java/org/apache/geronimo/connector/JCAResourceImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-connector/src/main/java/org/apache/geronimo/connector/JCAResourceImpl.java?view=diff&rev=454370&r1=454369&r2=454370
==============================================================================
--- geronimo/server/trunk/modules/geronimo-connector/src/main/java/org/apache/geronimo/connector/JCAResourceImpl.java
(original)
+++ geronimo/server/trunk/modules/geronimo-connector/src/main/java/org/apache/geronimo/connector/JCAResourceImpl.java
Mon Oct  9 06:12:07 2006
@@ -107,7 +107,7 @@
     }
 
     public JCAAdminObject[] getAdminObjectInstances() {
-        return (JCAAdminObject[]) adminObjects.toArray(new JCAAdminObject[connectionFactories.size()]);
+        return (JCAAdminObject[]) adminObjects.toArray(new JCAAdminObject[adminObjects.size()]);
     }
 
     public JCAAdminObject[] getAdminObjectInstances(String adminObjectInterface) {



Mime
View raw message