Refactory: removed unnecessary local variables and imports.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / obfuscator / export / ObfuscatorExportOperation.java
index f4037cd..fe09c63 100644 (file)
@@ -22,7 +22,7 @@ import net.sourceforge.phpdt.internal.compiler.parser.Scanner;
 import net.sourceforge.phpeclipse.obfuscator.ObfuscatorIgnores;
 import net.sourceforge.phpeclipse.obfuscator.ObfuscatorPass1Exporter;
 import net.sourceforge.phpeclipse.obfuscator.ObfuscatorPass2Exporter;
-import net.sourceforge.phpeclipse.ui.WebUI;
+//import net.sourceforge.phpeclipse.ui.WebUI;
 
 import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IFile;
@@ -37,7 +37,7 @@ import org.eclipse.core.runtime.Path;
 import org.eclipse.core.runtime.Status;
 import org.eclipse.jface.operation.IRunnableWithProgress;
 import org.eclipse.jface.operation.ModalContext;
-import org.eclipse.jface.preference.IPreferenceStore;
+//import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.ui.PlatformUI;
 import org.eclipse.ui.dialogs.IOverwriteQuery;
 
@@ -310,8 +310,8 @@ class ObfuscatorExportOperation implements IRunnableWithProgress {
                        throws InterruptedException {
                IPath fullPath = location.append(file.getName());
                fMonitor.subTask(file.getFullPath().toString());
-               String properPathString = fullPath.toOSString();
-               File targetFile = new File(properPathString);
+               //String properPathString = fullPath.toOSString();
+               //File targetFile = new File(properPathString);
 
                // if (targetFile.exists()) {
                // if (!targetFile.canWrite()) {
@@ -621,8 +621,8 @@ class ObfuscatorExportOperation implements IRunnableWithProgress {
 
        private void createExporters(IResource resource) {
                IProject project = resource.getProject();
-               IPreferenceStore store = WebUI.getDefault()
-                               .getPreferenceStore();
+//             IPreferenceStore store = WebUI.getDefault()
+//                             .getPreferenceStore();
                ObfuscatorIgnores ignore = new ObfuscatorIgnores(project);
                fCurrentIdentifierMap = ignore.getIdentifierMap();
                fCurrentProjectName = project.getName();