tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject [15/27] tomee git commit: Fix checking for INTERACTIVE option in embedded Main
Date Thu, 06 Dec 2018 22:23:19 GMT
Fix checking for INTERACTIVE option in embedded Main

https://github.com/apache/tomee/commit/469e7cb94c52d06102622bd0f54e0bf1a6a470ff#diff-03949e036a3ccddcf99c00ded5317c66R261

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

Branch: refs/heads/master
Commit: 3f6959d96c4acbb4870cd376e780672bcea4c6cb
Parents: 4b760d3
Author: Mischa Spiegelmock <revmischa@cpan.org>
Authored: Wed Dec 5 18:29:20 2018 +0200
Committer: GitHub <noreply@github.com>
Committed: Wed Dec 5 18:29:20 2018 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/tomee/embedded/Main.java              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/3f6959d9/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Main.java
----------------------------------------------------------------------
diff --git a/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Main.java b/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Main.java
index dcb670e..3e4d1cf 100644
--- a/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Main.java
+++ b/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Main.java
@@ -184,7 +184,7 @@ public class Main {
                     }
                 }
             });
-            if (options.hasOption(INTERACTIVE)) {
+            if (line.hasOption(INTERACTIVE)) {
                 String l;
                 final Scanner scanner = new Scanner(System.in);
                 while ((l = scanner.nextLine()) != null) {


Mime
View raw message