On Wed, 18 Mar 2026 20:25:38 GMT, Alexander Zuev <[email protected]> wrote:
> Changing validation procedure so only add http:// prefix for addresses that
> are not started from the supported preffixes (for now it's http and https but
> more can be added if needed). Also now the validation procedure is case
> insensetive so HTTPS:// also works fine.
The boolean valid , should be renamed as hasSupportedPrefix
apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/webview/WebViewApp.java
line 84:
> 82: EventHandler<ActionEvent> goAction = (ActionEvent event) -> {
> 83: String address = locationField.getText().trim();
> 84: boolean valid = false;
The boolean valid , should be renamed as hasSupportedPrefix
-------------
PR Review: https://git.openjdk.org/jfx/pull/2112#pullrequestreview-3980800083
PR Review Comment: https://git.openjdk.org/jfx/pull/2112#discussion_r2965102163