Refactory: removed unnecessary local variables and imports.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / corext / template / php / JavaContext.java
index 869b5b8..5c6f25c 100644 (file)
@@ -26,7 +26,7 @@ import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
 //import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.preference.IPreferenceStore;
+//import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.Document;
 import org.eclipse.jface.text.IDocument;
@@ -122,8 +122,8 @@ public class JavaContext extends CompilationUnitContext {
 
                if (lineDelimiter == null)
                        lineDelimiter = PLATFORM_LINE_DELIMITER;
-               IPreferenceStore prefs = WebUI.getDefault()
-                               .getPreferenceStore();
+//             IPreferenceStore prefs = WebUI.getDefault()
+//                             .getPreferenceStore();
                // axelcl start
                // boolean useCodeFormatter =
                // prefs.getBoolean(PreferenceConstants.TEMPLATES_USE_CODEFORMATTER);