incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [3/5] git commit: refs/heads/qemu-img - Remove main method from Script util.
Date Wed, 06 Feb 2013 16:51:33 GMT
Remove main method from Script util.

No need for this piece of code, probably legacy from somewhere


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

Branch: refs/heads/qemu-img
Commit: b73e858f7c4c747e8b546b1ea7f4a8ee39fb0a4f
Parents: 96df135
Author: Wido den Hollander <wido@widodh.nl>
Authored: Wed Feb 6 16:24:15 2013 +0100
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Wed Feb 6 16:24:15 2013 +0100

----------------------------------------------------------------------
 utils/src/com/cloud/utils/script/Script.java |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b73e858f/utils/src/com/cloud/utils/script/Script.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/script/Script.java b/utils/src/com/cloud/utils/script/Script.java
index 1e5aab4..9731ad1 100755
--- a/utils/src/com/cloud/utils/script/Script.java
+++ b/utils/src/com/cloud/utils/script/Script.java
@@ -487,10 +487,4 @@ public class Script implements Callable<String> {
             return result.trim();
     }
 
-    public static void main(String[] args) {
-        String path = findScript(".", "try.sh");
-        Script script = new Script(path, 5000, s_logger);
-        script.execute();
-        System.exit(1);
-    }
 }


Mime
View raw message