Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2165)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/refactoring/CompilationUnitChange.java

Issue 9834028: Initial implementation of "Rename Local Variable" refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: LInked/inline mode for rename Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/refactoring/CompilationUnitChange.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/refactoring/CompilationUnitChange.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/refactoring/CompilationUnitChange.java
index d73f70cabe223140d6b62cda98f23ccccb00e4e0..70c2ea462e589e135174341e58d22f3e3465dae3 100755
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/refactoring/CompilationUnitChange.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/refactoring/CompilationUnitChange.java
@@ -27,8 +27,6 @@ import org.eclipse.text.edits.UndoEdit;
/**
* A {@link TextFileChange} that operates on an {@link ICompilationUnit} in the workspace.
- *
- * @since 1.3
*/
public class CompilationUnitChange extends TextFileChange {
@@ -73,17 +71,11 @@ public class CompilationUnitChange extends TextFileChange {
return fCUnit;
}
- /**
- * {@inheritDoc}
- */
@Override
public ChangeDescriptor getDescriptor() {
return fDescriptor;
}
- /**
- * {@inheritDoc}
- */
@Override
public Object getModifiedElement() {
return fCUnit;
@@ -98,9 +90,6 @@ public class CompilationUnitChange extends TextFileChange {
fDescriptor = descriptor;
}
-// /**
-// * {@inheritDoc}
-// */
// @Override
// protected IDocument acquireDocument(IProgressMonitor pm) throws CoreException {
// pm.beginTask("", 2); //$NON-NLS-1$
@@ -108,9 +97,6 @@ public class CompilationUnitChange extends TextFileChange {
// return super.acquireDocument(new SubProgressMonitor(pm, 1));
// }
- /**
- * {@inheritDoc}
- */
@Override
protected Change createUndoChange(UndoEdit edit, ContentStamp stampToRestore) {
try {
@@ -121,9 +107,6 @@ public class CompilationUnitChange extends TextFileChange {
}
}
-// /**
-// * {@inheritDoc}
-// */
// @Override
// protected void releaseDocument(IDocument document, IProgressMonitor pm) throws CoreException {
// boolean isModified = isDocumentModified();

Powered by Google App Engine
This is Rietveld 408576698