geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r472487 - /geronimo/server/branches/1.1/modules/connector/src/java/org/apache/geronimo/connector/JCAResourceImpl.java
Date Wed, 08 Nov 2006 13:20:50 GMT
Author: akulshreshtha
Date: Wed Nov  8 05:20:49 2006
New Revision: 472487

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

Modified:
    geronimo/server/branches/1.1/modules/connector/src/java/org/apache/geronimo/connector/JCAResourceImpl.java

Modified: geronimo/server/branches/1.1/modules/connector/src/java/org/apache/geronimo/connector/JCAResourceImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/1.1/modules/connector/src/java/org/apache/geronimo/connector/JCAResourceImpl.java?view=diff&rev=472487&r1=472486&r2=472487
==============================================================================
--- geronimo/server/branches/1.1/modules/connector/src/java/org/apache/geronimo/connector/JCAResourceImpl.java
(original)
+++ geronimo/server/branches/1.1/modules/connector/src/java/org/apache/geronimo/connector/JCAResourceImpl.java
Wed Nov  8 05:20:49 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