From 8446bc5a0436537094f020f084cdff4cb712548a Mon Sep 17 00:00:00 2001 From: ucrhh Date: Thu, 11 Feb 2021 14:56:00 +0100 Subject: [PATCH] fix checkstyle --- src/main/java/edu/kit/typicalc/view/main/InputBar.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/edu/kit/typicalc/view/main/InputBar.java b/src/main/java/edu/kit/typicalc/view/main/InputBar.java index b3478dd..a6db0ed 100644 --- a/src/main/java/edu/kit/typicalc/view/main/InputBar.java +++ b/src/main/java/edu/kit/typicalc/view/main/InputBar.java @@ -57,7 +57,8 @@ public class InputBar extends HorizontalLayout implements LocaleChangeObserver { inputField = new TextField(); inputField.setId(INPUT_FIELD_ID); inputField.setClearButtonVisible(true); - inputField.setMaxLength(MAX_INPUT_LENGTH); // TODO: perhaps remove the error message? more than 1000 can't be entered now + inputField.setMaxLength(MAX_INPUT_LENGTH); + // TODO: perhaps remove the error message? more than 1000 can't be entered now // attach a listener that replaces \ with λ // JavaScript is used because Vaadin does not have APIs for selectionStart/selectionEnd // and this will be much faster than a bunch of network round trips per character entered!