clientSideValid
engaged in the definition
- * * of this method. It is important to reflect this status either
- * * in the returning validation result of this method or any other
- * * validation that is associated with this component.
- * */
+ * * Note how clientSideValid
engaged in the definition of
+ * * this method. It is important to reflect this status either in the
+ * * returning validation result of this method or any other validation
+ * * that is associated with this component.
+ * */
* @Override
* public Validator getDefaultValidator() {
- * return (value, valueContext) -> clientSideValid ? ValidationResult.ok()
+ * return (value, valueContext) -> clientSideValid
+ * ? ValidationResult.ok()
* : ValidationResult.error("Invalid date format");
* }
*
- * private final Collection<ValidationStatusChangeListener<LocalDate>>
- * validationStatusListeners = new ArrayList<>();
+ * private final Collection<ValidationStatusChangeListener<LocalDate>> validationStatusListeners = new ArrayList<>();
*
* /**
* * This enables the binding to subscribe for the validation status
* * change events that are fired by this component and revalidate
* * itself respectively.
- * */
+ * */
* @Override
* public Registration addValidationStatusChangeListener(
* ValidationStatusChangeListener<LocalDate> listener) {
diff --git a/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorTest.java b/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorTest.java
index f6e575dc49e..7258ff1f8d3 100644
--- a/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorTest.java
+++ b/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorTest.java
@@ -1312,14 +1312,18 @@ public void fetchFromProvider_disablePaging_singleQueryWithLimit() {
@Test
public void fetchFromProvider_maxLimitValue_pagesCalculatedProperly() {
- AbstractDataProvider
* Only for read as data is immutable.
*/
-public record MenuData(String title, Double order, boolean exclude, String icon, Class extends Component> menuClass) implements Serializable {
+public record MenuData(String title, Double order, boolean exclude, String icon,
+ Class extends Component> menuClass) implements Serializable {
/**
* MenuData constructor.
diff --git a/flow-server/src/main/java/com/vaadin/flow/server/dau/DAUUtils.java b/flow-server/src/main/java/com/vaadin/flow/server/dau/DAUUtils.java
index a949eea77dd..9f574b224fe 100644
--- a/flow-server/src/main/java/com/vaadin/flow/server/dau/DAUUtils.java
+++ b/flow-server/src/main/java/com/vaadin/flow/server/dau/DAUUtils.java
@@ -322,7 +322,7 @@ private static VaadinRequest createVaadinRequest(
* the enforcement messages or null if enforcement should not be
* applied
* @param origin
- * the exception that caused the enforcement
+ * the exception that caused the enforcement
* @param endRequestAction
* the action to be run at the end of the request
*/
diff --git a/flow-server/src/main/java/com/vaadin/flow/server/menu/AvailableViewInfo.java b/flow-server/src/main/java/com/vaadin/flow/server/menu/AvailableViewInfo.java
index e4012e9fd49..89e78b19d63 100644
--- a/flow-server/src/main/java/com/vaadin/flow/server/menu/AvailableViewInfo.java
+++ b/flow-server/src/main/java/com/vaadin/flow/server/menu/AvailableViewInfo.java
@@ -29,22 +29,32 @@
/**
* Represents a view configuration for use with a menu.
*
- * @param title title of view
- * @param rolesAllowed logged in roles allowed for view
- * @param loginRequired requires login
- * @param route path string
- * @param lazy lazy loaded
- * @param register register view
- * @param menu menu item information
- * @param children view children
- * @param routeParameters view parameters
- * @param flowLayout if server layout should be used
+ * @param title
+ * title of view
+ * @param rolesAllowed
+ * logged in roles allowed for view
+ * @param loginRequired
+ * requires login
+ * @param route
+ * path string
+ * @param lazy
+ * lazy loaded
+ * @param register
+ * register view
+ * @param menu
+ * menu item information
+ * @param children
+ * view children
+ * @param routeParameters
+ * view parameters
+ * @param flowLayout
+ * if server layout should be used
*/
public record AvailableViewInfo(String title, String[] rolesAllowed,
- boolean loginRequired, String route, boolean lazy,
- boolean register, MenuData menu,
- List
- * {@code @Bean
+ * {@code
+ * @Bean
* NavigationAccessControlConfigurer navigationAccessControlConfigurer() {
* return new NavigationAccessControlConfigurer()
* .withRoutePathAccessChecker().withLoginView(LoginView.class);
@@ -70,7 +71,8 @@
* prevent cyclic dependencies errors.
*
*
- * {@code @Bean
+ * {@code
+ * @Bean
* class SecurityConfig extends VaadinWebSecurity {
* static NavigationAccessControlConfigurer navigationAccessControlConfigurer() {
* return new NavigationAccessControlConfigurer()
diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/SpringAccessPathChecker.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/SpringAccessPathChecker.java
index 34433919a04..19e56925de6 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/SpringAccessPathChecker.java
+++ b/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/SpringAccessPathChecker.java
@@ -42,7 +42,8 @@
* method.
*
*
- * {@code @Bean
+ * {@code
+ * @Bean
* NavigationAccessControlConfigurer navigationAccessControlConfigurer() {
* return new NavigationAccessControlConfigurer()
* .withRoutePathAccessChecker().withLoginView(LoginView.class);