From 0b8e61af8fb8553566a7b628f244b8b1fb175f9e Mon Sep 17 00:00:00 2001 From: "yongsung1.kim" Date: Tue, 15 Oct 2013 17:26:03 +0900 Subject: [PATCH] [Title] Fix bug that installmanager cannot use both -x(proxy) options and -test option with cli installation. [Issue] redmine #10842 Change-Id: Iac64e7bbcd0481e46ea9f727e5eb4fa2e2339639 --- .../src/org/tizen/installmanager/core/Options.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/InstallManager_java/src/org/tizen/installmanager/core/Options.java b/InstallManager_java/src/org/tizen/installmanager/core/Options.java index aec428e..b9d3bb1 100644 --- a/InstallManager_java/src/org/tizen/installmanager/core/Options.java +++ b/InstallManager_java/src/org/tizen/installmanager/core/Options.java @@ -511,11 +511,9 @@ public class Options { while (argIter.hasNext()) { if (argIter.next().equalsIgnoreCase("-x")) { argIter.remove(); - while (argIter.hasNext()) { - Options.proxy = argIter.next(); - Log.log("Use proxy setting => " + Options.proxy); - argIter.remove(); - } + Options.proxy = argIter.next(); + Log.log("Use proxy setting => " + Options.proxy); + argIter.remove(); } } -- 2.7.4