openejb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1004433 - /openejb/branches/openejb-3.1.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java
Date Mon, 04 Oct 2010 21:14:06 GMT
Author: dblevins
Date: Mon Oct  4 21:14:05 2010
New Revision: 1004433

URL: http://svn.apache.org/viewvc?rev=1004433&view=rev
Log:
tweak to avoid null pointer

Modified:
    openejb/branches/openejb-3.1.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java

Modified: openejb/branches/openejb-3.1.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.1.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java?rev=1004433&r1=1004432&r2=1004433&view=diff
==============================================================================
--- openejb/branches/openejb-3.1.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java
(original)
+++ openejb/branches/openejb-3.1.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/jpa/unit/PersistenceUnit.java
Mon Oct  4 21:14:05 2010
@@ -198,7 +198,7 @@ public class PersistenceUnit {
     }
 
     public boolean addClass(String s) {
-        return clazz.add(s);
+        return getClazz().add(s);
     }
 
     public boolean addClass(Class clazz) {



Mime
View raw message