diff --git a/platform/lang-impl/src/com/intellij/find/impl/LivePreview.java b/platform/lang-impl/src/com/intellij/find/impl/LivePreview.java index 24119846bfe2..265a88fca371 100644 --- a/platform/lang-impl/src/com/intellij/find/impl/LivePreview.java +++ b/platform/lang-impl/src/com/intellij/find/impl/LivePreview.java @@ -109,7 +109,7 @@ public class LivePreview extends DocumentAdapter implements ReplacementView.Dele void cursorMoved(); } - private List myListeners = new ArrayList(); + private final List myListeners = new ArrayList(); public void addCursorListener(CursorListener listener) { myListeners.add(listener); @@ -166,7 +166,7 @@ public class LivePreview extends DocumentAdapter implements ReplacementView.Dele private Balloon myReplacementBalloon; public LivePreview(Project project) { - this.myProject = project; + myProject = project; updateEditorReference(); } @@ -175,7 +175,7 @@ public class LivePreview extends DocumentAdapter implements ReplacementView.Dele } public void setDelegate(Delegate delegate) { - this.myDelegate = delegate; + myDelegate = delegate; } @Nullable