mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-35641: IndexOutOfBoundsException in MavenResumeAction
This commit is contained in:
+1
-1
@@ -143,7 +143,7 @@ public class MavenResumeAction extends AnAction {
|
||||
case STATE_WAIT_FOR_BUILD:
|
||||
if (textWithoutInfo.startsWith("Building ")) {
|
||||
String projectName = textWithoutInfo.substring("Building ".length());
|
||||
if (myBuildingProjectIndex > myMavenProjectNames.size() ||
|
||||
if (myBuildingProjectIndex >= myMavenProjectNames.size() ||
|
||||
!projectName.startsWith(myMavenProjectNames.get(myBuildingProjectIndex))) {
|
||||
myState = STATE_WTF;
|
||||
log(String.format("Invalid project building order. Defined order: %s, error index: %d, invalid line: %s",
|
||||
|
||||
Reference in New Issue
Block a user