Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2014-05-19 16:41:26 +0000
committerSergey Prigogin2014-05-19 18:22:38 +0000
commit6b3e138ff50733b648291e8cca59f8f85814f675 (patch)
tree33c894e7bac4c42c0ecbcf6bbb429adee58b5921
parent38863b65d7d94bfd931422d716412a0adacc930e (diff)
downloadorg.eclipse.cdt-6b3e138ff50733b648291e8cca59f8f85814f675.tar.gz
org.eclipse.cdt-6b3e138ff50733b648291e8cca59f8f85814f675.tar.xz
org.eclipse.cdt-6b3e138ff50733b648291e8cca59f8f85814f675.zip
Cosmetics.
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/LocalProjectScope.java2
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java5
2 files changed, 3 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/LocalProjectScope.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/LocalProjectScope.java
index 58baa74aa63..c306556ce1e 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/LocalProjectScope.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/LocalProjectScope.java
@@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Markus Schorn - initial API and implementation
+ * Markus Schorn - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.internal.core;
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
index 6fa1c6b9148..9ba249fe3e5 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
@@ -2088,9 +2088,8 @@ public class CEditor extends TextEditor implements ICEditor, ISelectionChangedLi
IFile originalFile = getEditorInputFile(originalElement);
if (originalFile != null) {
- // if the project of the original input cannot be accessed,
- // we do have a project rename scenario and we can handle a move
- // see Bug #434852
+ // If the project of the original input cannot be accessed, the project is being
+ // renamed - accept the move. See http://bugs.eclipse.org/434852
if (originalFile.getProject() != null && !originalFile.getProject().isAccessible()) {
return true;
}

Back to the top