tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r677663 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java
Date Thu, 17 Jul 2008 18:13:24 GMT
Author: dblevins
Date: Thu Jul 17 11:13:24 2008
New Revision: 677663

URL: http://svn.apache.org/viewvc?rev=677663&view=rev
Log:
Fixed bug in validation block

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java?rev=677663&r1=677662&r2=677663&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java
Thu Jul 17 11:13:24 2008
@@ -287,7 +287,7 @@
 
         } else if (EJBLocalHome.class.isAssignableFrom(clazz)) {
 
-            if (tag.equals("local-home")) return true;
+            if (tag.equals("localHome")) return true;
 
             fail(b, "xml." + tag + ".ejbLocalHome", clazz.getName());
 
@@ -303,7 +303,7 @@
 
             fail(b, "xml." + tag + ".ejbLocalObject", clazz.getName());
 
-        } else if (tag.equals("businessLocal") && tag.equals("businessRemote")) {
+        } else if (tag.equals("businessLocal") || tag.equals("businessRemote")) {
 
             return true;
         }



Mime
View raw message