Repository: tomee Updated Branches: refs/heads/tomee-1.7.x 6c905096d -> 4362bb8b5
PMD Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/4362bb8b Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/4362bb8b Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/4362bb8b Branch: refs/heads/tomee-1.7.x Commit: 4362bb8b5b59bc05eb4dc11d51408f9500fd9fba Parents: 6c90509 Author: AndyGee <andy...@gmx.de> Authored: Mon Sep 14 22:04:19 2015 +0200 Committer: AndyGee <andy...@gmx.de> Committed: Mon Sep 14 22:04:19 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/4362bb8b/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 a44cabc..007fa78 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 @@ -1547,7 +1547,7 @@ public class Assembler extends AssemblerTool implements org.apache.openejb.spi.A factory = TransactionPolicyFactory.class.cast(value); } else if (String.class.isInstance(value)) { try { - final String[] parts = (String.class.cast(value)).split(":", 2); + final String[] parts = String.class.cast(value).split(":", 2); final ResourceFinder finder = new ResourceFinder("META-INF", classLoader); final Map<String, Class<? extends TransactionPolicyFactory>> plugins = finder.mapAvailableImplementations(TransactionPolicyFactory.class);