From: kh5325.kim Date: Tue, 24 Dec 2013 02:15:31 +0000 (+0900) Subject: MISC: Removed unused imports X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65e04fb56510297c262640e2517dc2d0d79f92fa;p=sdk%2Fide%2Fcommon-eplugin.git MISC: Removed unused imports Removed unused imports and variables. Change-Id: I45c7c02161ade42c197c0de370ca0399d5441df5 Signed-off-by: kh5325.kim --- diff --git a/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java b/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java index 737ef5c..0d6a356 100644 --- a/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java +++ b/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java @@ -67,9 +67,8 @@ public class OnDemandInstall { private Logger logger = LoggerFactory.getLogger(getClass()); public static final String ID_DEBUGTOOLS_EXTENSION = "org.tizen.common.connection.tools"; //$NON-NLS-1$ - public static final String TOOLS_HOST_PATH = InstallPathConfig.getPlatformVersionPath(); public static final String RPM_PACKAGE_TYPE = "rpm"; - private static final String RPM_QUERY_COMMAND = "rpm -qa | grep %s | wc -l"; + //private static final String RPM_QUERY_COMMAND = "rpm -qa | grep %s | wc -l"; private static final String CMD_RESULT_SUCCESS = "0"; private static final String MOVE_WORKING_DIR_COMMAND = "cd " + TizenPlatformConstants.TOOLS_TARGET_PATH; private static final String REMOVE_TOOL_COMMAND = "rm -f %s"; @@ -545,7 +544,7 @@ public class OnDemandInstall { dt = new DebugTool(packagename, f.getName(), sourcepath, version, description, architecture, OnDemandInstall.RPM_PACKAGE_TYPE); } finally { - verbose("end makeDebugToolFromRPM(f - '" + f.getName() + ", ' packagename - '" + packagename + "') return: " + dt ); + verbose("end makeDebugToolFromRPM(f - '" + f.getName() + ", ' packagename - '" + packagename + "') return: " + dt); return dt; } } diff --git a/org.tizen.common.gom/src/org/tizen/common/gom/smartlaunch/ui/GomDialog.java b/org.tizen.common.gom/src/org/tizen/common/gom/smartlaunch/ui/GomDialog.java index 4785439..d35d04f 100644 --- a/org.tizen.common.gom/src/org/tizen/common/gom/smartlaunch/ui/GomDialog.java +++ b/org.tizen.common.gom/src/org/tizen/common/gom/smartlaunch/ui/GomDialog.java @@ -28,14 +28,9 @@ package org.tizen.common.gom.smartlaunch.ui; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import java.util.Set; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.debug.core.DebugPlugin; -import org.eclipse.debug.core.ILaunchManager; -import org.eclipse.debug.internal.ui.DebugUIPlugin; -import org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager; import org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.dialogs.TitleAreaDialog; @@ -52,7 +47,6 @@ import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.*; import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.activities.WorkbenchActivityHelper; import org.tizen.common.ITizenNativeProject; import org.tizen.common.TizenHelpContextIds; import org.tizen.common.gom.smartlaunch.GomSmartLauncher; diff --git a/org.tizen.common.sign/build.properties b/org.tizen.common.sign/build.properties index ebcd154..cf85054 100644 --- a/org.tizen.common.sign/build.properties +++ b/org.tizen.common.sign/build.properties @@ -3,7 +3,6 @@ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ .,\ - key/,\ OSGI-INF/,\ about_files/,\ about.html,\ diff --git a/org.tizen.common.sign/test/src/org/tizen/common/sign/TizenIncrementalSignerTest.java b/org.tizen.common.sign/test/src/org/tizen/common/sign/TizenIncrementalSignerTest.java index 953d922..fa9d5f2 100644 --- a/org.tizen.common.sign/test/src/org/tizen/common/sign/TizenIncrementalSignerTest.java +++ b/org.tizen.common.sign/test/src/org/tizen/common/sign/TizenIncrementalSignerTest.java @@ -298,17 +298,14 @@ public class TizenIncrementalSignerTest { @Test public void testSignWithbInremental() throws Exception { class TizenIncrementalSignerForTest extends TizenIncrementalSigner { - public boolean bLoadDeltas = false; public List xmlPathList = new ArrayList(); - public TizenIncrementalSignerForTest(SigningProfile certProfile, - String rootPath) { + public TizenIncrementalSignerForTest(SigningProfile certProfile, String rootPath) { super(certProfile, rootPath); } @Override protected boolean loadDeltas() throws IOException { - bLoadDeltas = true; return true; } diff --git a/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/Startup.java b/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/Startup.java index a0f3fd1..ad94b26 100644 --- a/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/Startup.java +++ b/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/Startup.java @@ -32,13 +32,10 @@ import java.util.HashMap; import java.util.Map; import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IPartListener; import org.eclipse.ui.IStartup; import org.eclipse.ui.IWorkbenchPart; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.tizen.common.ui.Activator; public class Startup implements IStartup { protected Logger logger = LoggerFactory.getLogger(getClass());