Commit 1b41f3f4 authored by Dmitry Jemerov's avatar Dmitry Jemerov
Browse files

possible NPE

parent a4cda9f6
Showing with 1 addition and 1 deletion
+1 -1
...@@ -96,7 +96,7 @@ abstract class RenameChooser { ...@@ -96,7 +96,7 @@ abstract class RenameChooser {
.setRequestFocus(true) .setRequestFocus(true)
.setItemChoosenCallback(new Runnable() { .setItemChoosenCallback(new Runnable() {
public void run() { public void run() {
runRenameTemplate(list.getSelectedValue().equals(ALL_OCCURRENCES) ? stringUsages : new ArrayList<Pair<PsiElement, TextRange>>()); runRenameTemplate(ALL_OCCURRENCES.equals(list.getSelectedValue()) ? stringUsages : new ArrayList<Pair<PsiElement, TextRange>>());
} }
}) })
.addListener(new JBPopupAdapter() { .addListener(new JBPopupAdapter() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment