From 574461f6918114aa53a867ef524128f6e0a925fa Mon Sep 17 00:00:00 2001 From: Giuseppe Nespolino Date: Wed, 8 Nov 2023 13:16:02 +0100 Subject: [PATCH] feat: formatting [DHIS2-13779] --- .../dimension/DimensionFiltersTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dhis-2/dhis-web-api/src/test/java/org/hisp/dhis/analytics/dimension/DimensionFiltersTest.java b/dhis-2/dhis-web-api/src/test/java/org/hisp/dhis/analytics/dimension/DimensionFiltersTest.java index 3dbf385b89b3..7681702704c6 100644 --- a/dhis-2/dhis-web-api/src/test/java/org/hisp/dhis/analytics/dimension/DimensionFiltersTest.java +++ b/dhis-2/dhis-web-api/src/test/java/org/hisp/dhis/analytics/dimension/DimensionFiltersTest.java @@ -49,8 +49,8 @@ class DimensionFiltersTest { /** - * A map of all the fields in {@link DimensionResponse} and a function that creates a {@link DimensionResponse} - * with that field set to the given value. + * A map of all the fields in {@link DimensionResponse} and a function that creates a {@link + * DimensionResponse} with that field set to the given value. */ private static final Map> BUILDER_MAP = Map.of( @@ -66,9 +66,10 @@ class DimensionFiltersTest { public static final String STRING_TO_TEST_FILTER_ON = "TeSt"; /** - * A map of all the operators and the expected result of applying them to the {@link DimensionResponse} created - * by the corresponding {@link Function} in {@link #BUILDER_MAP} with the given {@link #STRING_TO_TEST_FILTER_ON}. - * The left value is the value to test for positive assertion, the right value is the value to test for negative. + * A map of all the operators and the expected result of applying them to the {@link + * DimensionResponse} created by the corresponding {@link Function} in {@link #BUILDER_MAP} with + * the given {@link #STRING_TO_TEST_FILTER_ON}. The left value is the value to test for positive + * assertion, the right value is the value to test for negative. */ private static final Map> OPERATORS = Stream.concat( @@ -92,7 +93,6 @@ class DimensionFiltersTest { .stream()) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); - @Test void testDimensionFilterConstructor() { @@ -140,8 +140,8 @@ void testOperators() { @Test void testFieldsAndOperators() { - BUILDER_MAP.forEach((s, builder) -> assertAllOpsOnField(s, builder.apply( - STRING_TO_TEST_FILTER_ON))); + BUILDER_MAP.forEach( + (s, builder) -> assertAllOpsOnField(s, builder.apply(STRING_TO_TEST_FILTER_ON))); } private void assertAllOpsOnField(String fieldName, DimensionResponse response) {