tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject [2/2] tomee git commit: missing port suffix
Date Tue, 30 Dec 2014 17:29:38 GMT
missing port suffix


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

Branch: refs/heads/tomee-1.7.x
Commit: 823723f272f177f1a277833ac446bb924db22cfa
Parents: a7bf7fc
Author: Romain Manni-Bucau <rmannibucau@apache.org>
Authored: Tue Dec 30 18:29:24 2014 +0100
Committer: Romain Manni-Bucau <rmannibucau@apache.org>
Committed: Tue Dec 30 18:29:24 2014 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/testing/ApplicationComposers.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/823723f2/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
b/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
index fb0808f..5ae9594 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
@@ -428,7 +428,7 @@ public final class ApplicationComposers {
                 }
 
                 final String service = field.getAnnotation(RandomPort.class).value();
-                final String key = "http".equals(service) ? "httpejbd" : service + ".port";
+                final String key = ("http".equals(service) ? "httpejbd" : service) + ".port";
                 final String existing = SystemInstance.get().getProperty(key);
                 final int random;
                 if (existing == null) {


Mime
View raw message