tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject tomee git commit: Cast
Date Mon, 14 Sep 2015 17:31:19 GMT
Repository: tomee
Updated Branches:
  refs/heads/tomee-1.7.x d15a4421b -> cbf482a8d


Cast


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/cbf482a8
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/cbf482a8
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/cbf482a8

Branch: refs/heads/tomee-1.7.x
Commit: cbf482a8df22527f040e06ef0c92be2eee9c89ed
Parents: d15a442
Author: AndyGee <andy.is@gmx.de>
Authored: Mon Sep 14 19:30:59 2015 +0200
Committer: AndyGee <andy.is@gmx.de>
Committed: Mon Sep 14 19:30:59 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/assembler/classic/Assembler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/cbf482a8/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
index cf36240..7ee33e1 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
@@ -2743,7 +2743,7 @@ public class Assembler extends AssemblerTool implements org.apache.openejb.spi.A
 
             // init cm if needed
             final Object eagerInit = unset.remove("eagerInit");
-            if (eagerInit != null && String.class.isInstance(eagerInit) &&
"true".equalsIgnoreCase((String) eagerInit)
+            if (eagerInit != null && String.class.isInstance(eagerInit) &&
"true".equalsIgnoreCase(String.class.cast(eagerInit))
                     && AbstractConnectionManager.class.isInstance(connectionManager))
{
                 try {
                     AbstractConnectionManager.class.cast(connectionManager).doStart();


Mime
View raw message