Introduce Property: Fix duplicate count in popup window

#KT-13395 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-09 14:14:59 +03:00
parent ab7d48a34e
commit 3475a1fd1f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@
- [`KT-13244`](https://youtrack.jetbrains.com/issue/KT-13244) Override/Implement Members: Do not expand type aliases in the generated members
- [`KT-13218`](https://youtrack.jetbrains.com/issue/KT-13218) Extract Function: Fix AssertionError on callable references
- [`KT-13385`](https://youtrack.jetbrains.com/issue/KT-13385) Move: Quote package name (if necessary) when moving declarations to new file
- [`KT-13395`](https://youtrack.jetbrains.com/issue/KT-13395) Introduce Property: Fix duplicate count in popup window
## 1.1-M01 (EAP-1)
@@ -134,7 +134,7 @@ class KotlinInplacePropertyIntroducer(
}
}
val occurrenceCount = extractionResult.duplicateReplacers.size + 1
val occurrenceCount = extractionResult.duplicateReplacers.size
if (occurrenceCount > 1) {
addPanelControl(
ControlWrapper {