Skip to content

Conversation

@Joboblock
Copy link
Contributor

List flags = new ArrayList<>(Arrays.asList(new Boolean[len]));
creates a list with null elements, which causes a NullPointerException when calling flags.set(0, true).
This fix ensures the list is initialized with false values instead of null.

@micycle1 micycle1 merged commit 869c6dc into micycle1:master Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants