Skip to content

Fix UnsupportedOperationException in FeederActions#514

Open
ElMajor76 wants to merge 1 commit into
angryip:masterfrom
ElMajor76:fix-unsupported-operation-exception
Open

Fix UnsupportedOperationException in FeederActions#514
ElMajor76 wants to merge 1 commit into
angryip:masterfrom
ElMajor76:fix-unsupported-operation-exception

Conversation

@ElMajor76
Copy link
Copy Markdown

When selecting a local IP address from the UI, an UnsupportedOperationException is thrown on modern Java versions because networkInterface.getInterfaceAddresses() returns an unmodifiable list. This PR wraps the list in an ArrayList before sorting to fix the issue.

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.

1 participant