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

Commit

Permalink
Fix inspection message that said "expected n parameters, but got n"
Browse files Browse the repository at this point in the history
  • Loading branch information
komu committed Jan 31, 2017
1 parent 7d490c6 commit 31fdb90
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.2 (2017-01-31)

- Fix inspection message that said "expected n parameters, but got n".

## 0.5.1 (2017-01-28)
- Support `findMap`-calls with values having multiple parameters ([#10](https://github.com/EvidentSolutions/dalesbred-idea-plugin/issues/10))
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ intellij {
}

group 'fi.evident.dalesbred.plugin.idea'
version '0.5.1'
version '0.5.2'

configurations {
testLibs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class DalesbredInstantiationInspection : BaseJavaLocalInspectionTool() {
if (parameterCount == selectCount)
return null
else
return "Instantiator tagged with @DalesbredInstantiator expected $parameterCount parameters, but got $parameterCount."
return "Instantiator tagged with @DalesbredInstantiator expected $parameterCount parameters, but got $selectCount."

} else {
return "Found multiple constructors with @DalesbredInstantiator-annotation."
Expand Down

0 comments on commit 31fdb90

Please sign in to comment.