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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/actions/WorkbenchRunnableAdapter.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.ui/src/com/google/dart/tools/ui/internal/actions/WorkbenchRunnableAdapter.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/actions/WorkbenchRunnableAdapter.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/actions/WorkbenchRunnableAdapter.java
index 73389106fa3fd8d4d5a557ff55ec9261cbc69959..6eb204040267c0e7574a219647fbb81bdb84a188 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/actions/WorkbenchRunnableAdapter.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/actions/WorkbenchRunnableAdapter.java
@@ -1,16 +1,14 @@
/*
* Copyright (c) 2011, the Dart project authors.
- *
- * Licensed under the Eclipse Public License v1.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
+ *
+ * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
* http://www.eclipse.org/legal/epl-v10.html
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.dart.tools.ui.internal.actions;
@@ -45,8 +43,8 @@ import java.lang.reflect.InvocationTargetException;
public class WorkbenchRunnableAdapter implements IRunnableWithProgress, IThreadListener {
private boolean fTransfer = false;
- private IWorkspaceRunnable fWorkspaceRunnable;
- private ISchedulingRule fRule;
+ private final IWorkspaceRunnable fWorkspaceRunnable;
+ private final ISchedulingRule fRule;
/**
* Runs a workspace runnable with the workspace lock.
@@ -144,9 +142,6 @@ public class WorkbenchRunnableAdapter implements IRunnableWithProgress, IThreadL
// TODO: should block until user pressed 'to background'
}
- /**
- * {@inheritDoc}
- */
@Override
public void threadChange(Thread thread) {
if (fTransfer) {

Powered by Google App Engine
This is Rietveld 408576698