Refactory: removed unnecessary local variables and imports.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / ui / wizards / NewContainerWizardPage.java
index b2a5da6..a7857e8 100644 (file)
@@ -96,7 +96,7 @@ public abstract class NewContainerWizardPage extends NewElementWizardPage {
         *            root used as the source folder
         */
        protected void initContainerPage(IJavaElement elem) {
-               IPackageFragmentRoot initRoot = null;
+               //IPackageFragmentRoot initRoot = null;
                // if (elem != null) {
                // initRoot= JavaModelUtil.getPackageFragmentRoot(elem);
                // if (initRoot == null || initRoot.isArchive()) {
@@ -294,7 +294,7 @@ public abstract class NewContainerWizardPage extends NewElementWizardPage {
                                                                                        "NewContainerWizardPage.error.ProjectClosed", proj.getFullPath().toString())); //$NON-NLS-1$
                                        return status;
                                }
-                               IJavaProject jproject = JavaCore.create(proj);
+                               //IJavaProject jproject = JavaCore.create(proj);
                                // fCurrRoot= jproject.getPackageFragmentRoot(res);
                                // if (res.exists()) {
                                // try {