You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`findImport` and `createPackage` require an array with a minimum
length of 1. This patch skips the method calls if necessary and
properly redirects to the fall back.
The following example causes an
ArrayIndexOutOfBoundsException
while create a spoon model:The model is created as follows:
(with projectPath being the path to the FindImportBug.java file)
I think this issue could be solved by checking the length
chars
. That is,findImport(chars, false, false);
is skipped ifchars.length == 0
.The text was updated successfully, but these errors were encountered: