Refactory: removed unnecessary local variables and imports.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / ClasspathEntry.java
index fc56c48..463e7ea 100644 (file)
@@ -279,12 +279,12 @@ public class ClasspathEntry implements IClasspathEntry {
                        path = projectPath.append(path);
                }
                // source attachment info (optional)
-               IPath sourceAttachmentPath = element.hasAttribute("sourcepath") //$NON-NLS-1$
-               ? new Path(element.getAttribute("sourcepath")) //$NON-NLS-1$
-                               : null;
-               IPath sourceAttachmentRootPath = element.hasAttribute("rootpath") //$NON-NLS-1$
-               ? new Path(element.getAttribute("rootpath")) //$NON-NLS-1$
-                               : null;
+//             IPath sourceAttachmentPath = element.hasAttribute("sourcepath") //$NON-NLS-1$
+//             ? new Path(element.getAttribute("sourcepath")) //$NON-NLS-1$
+//                             : null;
+//             IPath sourceAttachmentRootPath = element.hasAttribute("rootpath") //$NON-NLS-1$
+//             ? new Path(element.getAttribute("rootpath")) //$NON-NLS-1$
+//                             : null;
 
                // exported flag (optional)
                boolean isExported = element.getAttribute("exported").equals("true"); //$NON-NLS-1$ //$NON-NLS-2$
@@ -1387,7 +1387,7 @@ public class ClasspathEntry implements IClasspathEntry {
                        if (path != null && path.isAbsolute() && !path.isEmpty()) {
                                IProject prereqProjectRsc = workspaceRoot.getProject(path
                                                .segment(0));
-                               IJavaProject prereqProject = JavaCore.create(prereqProjectRsc);
+                               //IJavaProject prereqProject = JavaCore.create(prereqProjectRsc);
                                try {
                                        if (!prereqProjectRsc.exists()
                                                        || !prereqProjectRsc