tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r655681 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java
Date Mon, 12 May 2008 22:50:14 GMT
Author: dblevins
Date: Mon May 12 15:50:13 2008
New Revision: 655681

URL: http://svn.apache.org/viewvc?rev=655681&view=rev
Log:
OPENEJB-800: Default env-entry-type to java.lang.String

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

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java?rev=655681&r1=655680&r2=655681&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java
Mon May 12 15:50:13 2008
@@ -344,6 +344,11 @@
                 continue;
             }
 
+            if (env.getEnvEntryType() == null){
+                // TODO: Maybe Move this into the EnvEntry class
+                env.setEnvEntryType("java.lang.String");
+            }
+            
             EnvEntryInfo info = new EnvEntryInfo();
 
             info.name = env.getEnvEntryName();



Mime
View raw message