Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit 31fdb90

Browse files
committed
Fix inspection message that said "expected n parameters, but got n"
1 parent 7d490c6 commit 31fdb90

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.2 (2017-01-31)
2+
3+
- Fix inspection message that said "expected n parameters, but got n".
4+
15
## 0.5.1 (2017-01-28)
26
37
- Support `findMap`-calls with values having multiple parameters ([#10](https://github.com/EvidentSolutions/dalesbred-idea-plugin/issues/10))

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ intellij {
3232
}
3333

3434
group 'fi.evident.dalesbred.plugin.idea'
35-
version '0.5.1'
35+
version '0.5.2'
3636

3737
configurations {
3838
testLibs

src/main/kotlin/fi/evident/dalesbred/plugin/idea/inspections/DalesbredInstantiationInspection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class DalesbredInstantiationInspection : BaseJavaLocalInspectionTool() {
183183
if (parameterCount == selectCount)
184184
return null
185185
else
186-
return "Instantiator tagged with @DalesbredInstantiator expected $parameterCount parameters, but got $parameterCount."
186+
return "Instantiator tagged with @DalesbredInstantiator expected $parameterCount parameters, but got $selectCount."
187187

188188
} else {
189189
return "Found multiple constructors with @DalesbredInstantiator-annotation."

0 commit comments

Comments
 (0)