diff --git a/parts/pluginChanges.html b/parts/pluginChanges.html
index 07c0433e8..0cf2ccc84 100644
--- a/parts/pluginChanges.html
+++ b/parts/pluginChanges.html
@@ -1,7 +1,7 @@
- 0.31
- - TODO
+ - Fixed #923: ArrayIndexOutOfBoundsException in ReplaceExplicitTypeWithVariableIntention
- 0.30
diff --git a/src/main/java/de/plushnikov/intellij/plugin/intention/valvar/to/AbstractReplaceExplicitTypeWithVariableIntentionAction.java b/src/main/java/de/plushnikov/intellij/plugin/intention/valvar/to/AbstractReplaceExplicitTypeWithVariableIntentionAction.java
index 6dce56931..09c0c38b8 100644
--- a/src/main/java/de/plushnikov/intellij/plugin/intention/valvar/to/AbstractReplaceExplicitTypeWithVariableIntentionAction.java
+++ b/src/main/java/de/plushnikov/intellij/plugin/intention/valvar/to/AbstractReplaceExplicitTypeWithVariableIntentionAction.java
@@ -27,7 +27,7 @@ public String getFamilyName() {
@Override
public boolean isAvailableOnDeclarationStatement(PsiDeclarationStatement context) {
PsiElement[] declaredElements = context.getDeclaredElements();
- if (declaredElements.length > 1) {
+ if (declaredElements.length != 1) {
return false;
}
PsiElement declaredElement = declaredElements[0];
diff --git a/src/main/resources/messages/lombokBundle.properties b/src/main/resources/messages/lombokBundle.properties
index ed3351edb..c11d31863 100644
--- a/src/main/resources/messages/lombokBundle.properties
+++ b/src/main/resources/messages/lombokBundle.properties
@@ -20,14 +20,7 @@ daemon.donate.title=Lombok support plugin updated to v{0}
daemon.donate.content=
\
Helpful? Donate with PayPal
\
Fixes:
\
-- Fixed (#570): Better support for @Builder.Default (var$set and var$value fields)
\
-- Fixed (#754): Intention to convert explicit type to var/val or vice versa, thanks to @Sheigutn (Florian Böhm)
\
-- Fixed (#760): Plugin and compiler disagree on @Builder method generation
\
-- Fixed (#771): @Data No error message when there is no default constructor in superclass
\
-- Fixed (#805): Do not use deprecated constructor injection
\
-- Fixed (#807): Do not use ImplicitUsageProvider in GenerateConstructorAction
\
-- Fixed (#822): @Builder annotation on multiple methods of same class is broken
\
-- Fixed (#825): intellij objects to overriding builder methods when setterPrefix set
\
+- Fixed (#923): ArrayIndexOutOfBoundsException in ReplaceExplicitTypeWithVariableIntention
\
\
If you find my plugin helpful, donate me using
\
PayPal\