From d0ec65c785407b7ed4a98eb595257c1269aef1b2 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Mon, 4 Nov 2024 08:31:39 +0100 Subject: [PATCH 1/9] #406 Add codes for old board models --- .../com/pi4j/boardinfo/definition/BoardModel.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java b/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java index 435edc8a..8524d323 100644 --- a/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java +++ b/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java @@ -17,14 +17,15 @@ * * */ public enum BoardModel { MODEL_1_A("Raspberry Pi 1 Model A", SINGLE_BOARD_COMPUTER, - new ArrayList<>(), + Arrays.asList("0007", "0008", "0009"), PiModel.MODEL_A, HeaderVersion.TYPE_1, LocalDate.of(2013, 2, 1), @@ -33,7 +34,7 @@ public enum BoardModel { Collections.singletonList(700), Collections.singletonList(256 * 1024)), MODEL_1_A_PLUS("Raspberry Pi 1 Model A+", SINGLE_BOARD_COMPUTER, - Collections.singletonList("900021"), + Arrays.asList("0012", "0015", "900021"), PiModel.MODEL_A, HeaderVersion.TYPE_1, LocalDate.of(2014, 11, 1), @@ -52,7 +53,7 @@ public enum BoardModel { Collections.singletonList(1400), Collections.singletonList(512 * 1024)), MODEL_1_B("Raspberry Pi 1 Model B", SINGLE_BOARD_COMPUTER, - new ArrayList<>(), + Arrays.asList("0002", "0003", "0004", "0005", "0006", "000d", "000e", "000f"), PiModel.MODEL_B, HeaderVersion.TYPE_1, LocalDate.of(2012, 4, 1), @@ -62,7 +63,7 @@ public enum BoardModel { Arrays.asList(256 * 1024, 512 * 1024), Collections.singletonList("Amount of memory changed to 512Mb on 20121015")), MODEL_1_B_PLUS("Raspberry Pi 1 Model B+", SINGLE_BOARD_COMPUTER, - Collections.singletonList("900032"), + Arrays.asList("0010", "0013", "900032"), PiModel.MODEL_B, HeaderVersion.TYPE_1, LocalDate.of(2014, 7, 1), @@ -134,7 +135,7 @@ public enum BoardModel { Collections.singletonList(2400), Arrays.asList(2048 * 1024, 4096 * 1024, 8192 * 1024)), COMPUTE_1("Compute Module 1", STACK_ON_COMPUTER, - Collections.singletonList("900061"), + Arrays.asList("0011", "0014", "900061"), PiModel.COMPUTE, HeaderVersion.COMPUTE, LocalDate.of(2014, 4, 1), From a13f270dbdb8b57387bde5188db4630dd614c42d Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 14:53:30 +0100 Subject: [PATCH 2/9] Use List.of --- .../pi4j/boardinfo/definition/BoardModel.java | 46 +++++++++---------- .../boardinfo/definition/HeaderVersion.java | 4 +- .../context/impl/DefaultContextBuilder.java | 4 +- .../com/pi4j/io/gpio/digital/DigitalBase.java | 4 +- .../impl/DefaultRuntimePlatforms.java | 2 +- .../impl/DefaultRuntimeProviders.java | 2 +- .../src/main/java/com/pi4j/test/About.java | 4 +- .../com/pi4j/test/platform/TestPlatform.java | 2 +- 8 files changed, 35 insertions(+), 33 deletions(-) diff --git a/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java b/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java index 8524d323..d5bf048c 100644 --- a/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java +++ b/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java @@ -25,7 +25,7 @@ */ public enum BoardModel { MODEL_1_A("Raspberry Pi 1 Model A", SINGLE_BOARD_COMPUTER, - Arrays.asList("0007", "0008", "0009"), + List.of("0007", "0008", "0009"), PiModel.MODEL_A, HeaderVersion.TYPE_1, LocalDate.of(2013, 2, 1), @@ -34,17 +34,17 @@ public enum BoardModel { Collections.singletonList(700), Collections.singletonList(256 * 1024)), MODEL_1_A_PLUS("Raspberry Pi 1 Model A+", SINGLE_BOARD_COMPUTER, - Arrays.asList("0012", "0015", "900021"), + List.of("0012", "0015", "900021"), PiModel.MODEL_A, HeaderVersion.TYPE_1, LocalDate.of(2014, 11, 1), Soc.BCM2835, Cpu.ARM1176JZF_S, 1, Collections.singletonList(700), - Arrays.asList(256 * 1024, 512 * 1024), + List.of(256 * 1024, 512 * 1024), Collections.singletonList("Amount of memory changed to 512Mb on 20160810")), MODEL_3_A_PLUS("Raspberry Pi 3 Model A+", SINGLE_BOARD_COMPUTER, - Arrays.asList("9020e0", "9020e1"), + List.of("9020e0", "9020e1"), PiModel.MODEL_A, HeaderVersion.TYPE_3, LocalDate.of(2018, 11, 1), @@ -53,17 +53,17 @@ public enum BoardModel { Collections.singletonList(1400), Collections.singletonList(512 * 1024)), MODEL_1_B("Raspberry Pi 1 Model B", SINGLE_BOARD_COMPUTER, - Arrays.asList("0002", "0003", "0004", "0005", "0006", "000d", "000e", "000f"), + List.of("0002", "0003", "0004", "0005", "0006", "000d", "000e", "000f"), PiModel.MODEL_B, HeaderVersion.TYPE_1, LocalDate.of(2012, 4, 1), Soc.BCM2835, Cpu.ARM1176JZF_S, 1, Collections.singletonList(700), - Arrays.asList(256 * 1024, 512 * 1024), + List.of(256 * 1024, 512 * 1024), Collections.singletonList("Amount of memory changed to 512Mb on 20121015")), MODEL_1_B_PLUS("Raspberry Pi 1 Model B+", SINGLE_BOARD_COMPUTER, - Arrays.asList("0010", "0013", "900032"), + List.of("0010", "0013", "900032"), PiModel.MODEL_B, HeaderVersion.TYPE_1, LocalDate.of(2014, 7, 1), @@ -72,7 +72,7 @@ public enum BoardModel { Collections.singletonList(700), Collections.singletonList(512 * 1024)), MODEL_2_B("Raspberry Pi 2 Model B", SINGLE_BOARD_COMPUTER, - Arrays.asList("a01040", "a01041", "a21041"), + List.of("a01040", "a01041", "a21041"), PiModel.MODEL_B, HeaderVersion.TYPE_2, LocalDate.of(2015, 2, 1), @@ -81,7 +81,7 @@ public enum BoardModel { Collections.singletonList(900), Collections.singletonList(1024 * 1024)), MODEL_2_B_V1_2("Raspberry Pi 2 Model B V1.2", SINGLE_BOARD_COMPUTER, - Arrays.asList("a02042", "a22042"), + List.of("a02042", "a22042"), PiModel.MODEL_B, HeaderVersion.TYPE_2, LocalDate.of(2016, 10, 1), @@ -90,7 +90,7 @@ public enum BoardModel { Collections.singletonList(900), Collections.singletonList(1024 * 1024)), MODEL_3_B("Raspberry Pi 3 Model B", SINGLE_BOARD_COMPUTER, - Arrays.asList("a02082", "a22082", "a32082", "a52082", "a22083"), + List.of("a02082", "a22082", "a32082", "a52082", "a22083"), PiModel.MODEL_B, HeaderVersion.TYPE_3, LocalDate.of(2016, 2, 1), @@ -99,7 +99,7 @@ public enum BoardModel { Collections.singletonList(1200), Collections.singletonList(1024 * 1024)), MODEL_3_B_PLUS("Raspberry Pi 3 Model B+", SINGLE_BOARD_COMPUTER, - Arrays.asList("a020d3", "a020d4"), + List.of("a020d3", "a020d4"), PiModel.MODEL_B, HeaderVersion.TYPE_3, LocalDate.of(2018, 3, 14), @@ -108,14 +108,14 @@ public enum BoardModel { Collections.singletonList(1400), Collections.singletonList(1024 * 1024)), MODEL_4_B("Raspberry Pi 4 Model B", SINGLE_BOARD_COMPUTER, - Arrays.asList("a03111", "b03111", "b03112", "b03114", "b03115", "c03111", "c03112", "c03114", "c03115", "d03114", "d03115"), + List.of("a03111", "b03111", "b03112", "b03114", "b03115", "c03111", "c03112", "c03114", "c03115", "d03114", "d03115"), PiModel.MODEL_B, HeaderVersion.TYPE_3, LocalDate.of(2019, 6, 24), Soc.BCM2711, Cpu.CORTEX_A72, 4, - Arrays.asList(1500, 1800), - Arrays.asList(1024 * 1024, 2048 * 1024, 4096 * 1024, 8192 * 1024)), + List.of(1500, 1800), + List.of(1024 * 1024, 2048 * 1024, 4096 * 1024, 8192 * 1024)), MODEL_400("Raspberry Pi 400", ALL_IN_ONE_COMPUTER, Collections.singletonList("c03130"), PiModel.MODEL_B, @@ -126,16 +126,16 @@ public enum BoardModel { Collections.singletonList(1800), Collections.singletonList(4096 * 1024)), MODEL_5_B("Raspberry Pi 5 Model B", SINGLE_BOARD_COMPUTER, - Arrays.asList("b04170", "c04170", "d04170"), + List.of("b04170", "c04170", "d04170"), PiModel.MODEL_B, HeaderVersion.TYPE_3, LocalDate.of(2023, 9, 28), Soc.BCM2712, Cpu.CORTEX_A76, 4, Collections.singletonList(2400), - Arrays.asList(2048 * 1024, 4096 * 1024, 8192 * 1024)), + List.of(2048 * 1024, 4096 * 1024, 8192 * 1024)), COMPUTE_1("Compute Module 1", STACK_ON_COMPUTER, - Arrays.asList("0011", "0014", "900061"), + List.of("0011", "0014", "900061"), PiModel.COMPUTE, HeaderVersion.COMPUTE, LocalDate.of(2014, 4, 1), @@ -144,7 +144,7 @@ public enum BoardModel { Collections.singletonList(700), Collections.singletonList(512 * 1024)), COMPUTE_3("Compute Module 3", STACK_ON_COMPUTER, - Arrays.asList("a020a0", "a220a0"), + List.of("a020a0", "a220a0"), PiModel.COMPUTE, HeaderVersion.COMPUTE, LocalDate.of(2017, 1, 1), @@ -162,14 +162,14 @@ public enum BoardModel { Collections.singletonList(1200), Collections.singletonList(1024 * 1024)), COMPUTE_4("Compute Module 4", STACK_ON_COMPUTER, - Arrays.asList("a03140", "b03140", "c03140", "d03140", "a03141", "b03141", "c03141", "d03141"), + List.of("a03140", "b03140", "c03140", "d03140", "a03141", "b03141", "c03141", "d03141"), PiModel.COMPUTE, HeaderVersion.COMPUTE, LocalDate.of(2020, 10, 1), Soc.BCM2711, Cpu.CORTEX_A72, 4, Collections.singletonList(1500), - Arrays.asList(1024 * 1024, 2048 * 1024, 4096 * 1024, 8192 * 1024)), + List.of(1024 * 1024, 2048 * 1024, 4096 * 1024, 8192 * 1024)), // https://datasheets.raspberrypi.com/cm4s/cm4s-datasheet.pdf COMPUTE_4_SODIMM("Compute Module 4 SODIMM", STACK_ON_COMPUTER, new ArrayList<>(), // Not known yet @@ -179,9 +179,9 @@ public enum BoardModel { Soc.BCM2711, Cpu.CORTEX_A72, 4, Collections.singletonList(1500), - Arrays.asList(1024 * 1024, 2048 * 1024, 4096 * 1024, 8192 * 1024)), + List.of(1024 * 1024, 2048 * 1024, 4096 * 1024, 8192 * 1024)), ZERO_PCB_1_2("Raspberry Pi Zero PCB V1.2", SINGLE_BOARD_COMPUTER, - Arrays.asList("900092", "920092"), + List.of("900092", "920092"), PiModel.ZERO, HeaderVersion.TYPE_3, LocalDate.of(2015, 11, 1), @@ -190,7 +190,7 @@ public enum BoardModel { Collections.singletonList(1000), Collections.singletonList(512 * 1024)), ZERO_PCB_1_3("Raspberry Pi Zero PCB V1.3", SINGLE_BOARD_COMPUTER, - Arrays.asList("900093", "920093"), + List.of("900093", "920093"), PiModel.ZERO, HeaderVersion.TYPE_3, LocalDate.of(2016, 5, 1), diff --git a/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/HeaderVersion.java b/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/HeaderVersion.java index 62dd1aab..cbe79a26 100644 --- a/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/HeaderVersion.java +++ b/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/HeaderVersion.java @@ -8,9 +8,9 @@ public enum HeaderVersion { PICO("Pico", "Used on the Pico microcontroller", new ArrayList<>()), TYPE_1("Type 1", "Used on original Model B", Collections.singletonList(HeaderPins.HEADER_26_TYPE_1)), - TYPE_2("Type 2", "Used on Model A and Model B (revision 2)", Arrays.asList(HeaderPins.HEADER_26_TYPE_2, HeaderPins.HEADER_8)), + TYPE_2("Type 2", "Used on Model A and Model B (revision 2)", List.of(HeaderPins.HEADER_26_TYPE_2, HeaderPins.HEADER_8)), TYPE_3("Type 3", "Used on Model A+, B+, Pi Zero, Pi Zero W, Pi2B, Pi3B, Pi4B, Pi5B", Collections.singletonList(HeaderPins.HEADER_40)), - COMPUTE("Compute Module", "54 GPIO", Arrays.asList(HeaderPins.COMPUTE_J5, HeaderPins.COMPUTE_J6)), + COMPUTE("Compute Module", "54 GPIO", List.of(HeaderPins.COMPUTE_J5, HeaderPins.COMPUTE_J6)), UNKNOWN("Unknown", "", new ArrayList<>()); private final String label; diff --git a/pi4j-core/src/main/java/com/pi4j/context/impl/DefaultContextBuilder.java b/pi4j-core/src/main/java/com/pi4j/context/impl/DefaultContextBuilder.java index de43b392..fc8240c5 100644 --- a/pi4j-core/src/main/java/com/pi4j/context/impl/DefaultContextBuilder.java +++ b/pi4j-core/src/main/java/com/pi4j/context/impl/DefaultContextBuilder.java @@ -87,7 +87,7 @@ public static ContextBuilder newInstance(){ @Override public ContextBuilder add(Platform... platform) { if(platform != null && platform.length > 0) - this.platforms.addAll(Arrays.asList(platform)); + this.platforms.addAll(List.of(platform)); return this; } @@ -95,7 +95,7 @@ public ContextBuilder add(Platform... platform) { @Override public ContextBuilder add(Provider... provider) { if(provider != null && provider.length > 0) - this.providers.addAll(Arrays.asList(provider)); + this.providers.addAll(List.of(provider)); return this; } diff --git a/pi4j-core/src/main/java/com/pi4j/io/gpio/digital/DigitalBase.java b/pi4j-core/src/main/java/com/pi4j/io/gpio/digital/DigitalBase.java index d1cf4194..86c53b0a 100644 --- a/pi4j-core/src/main/java/com/pi4j/io/gpio/digital/DigitalBase.java +++ b/pi4j-core/src/main/java/com/pi4j/io/gpio/digital/DigitalBase.java @@ -92,7 +92,7 @@ public DIGITAL_TYPE removeListener(DigitalStateChangeListener... listener) { public DIGITAL_TYPE bind(DigitalBinding ... binding) { return bindings.bind(binding); - //bindings.addAll(Arrays.asList(binding)); + //bindings.addAll(List.of(binding)); //return (DIGITAL_TYPE)this; } @@ -100,7 +100,7 @@ public DIGITAL_TYPE bind(DigitalBinding ... binding) { @Override public DIGITAL_TYPE unbind(DigitalBinding ... binding) { return bindings.unbind(binding); - //bindings.removeAll(Arrays.asList(binding)); + //bindings.removeAll(List.of(binding)); //return (DIGITAL_TYPE)this; } diff --git a/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java b/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java index f7d7b3e3..2c122fe2 100644 --- a/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java +++ b/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java @@ -210,7 +210,7 @@ public RuntimePlatforms initialize(Collection platforms) throws Initia private Platforms add(T ... platform) throws PlatformAlreadyExistsException, PlatformInitializeException { - return add(Arrays.asList(platform)); + return add(List.of(platform)); } private Platforms add(Collection platform) throws PlatformAlreadyExistsException, PlatformInitializeException { diff --git a/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java b/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java index 45799a0f..6717a789 100644 --- a/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java +++ b/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java @@ -229,7 +229,7 @@ public Provider get(String providerId) throws ProviderNotFoundException { } private Providers add(T ... provider) throws ProviderInitializeException, ProviderAlreadyExistsException { - return add(Arrays.asList(provider)); + return add(List.of(provider)); } private Providers add(Collection provider) throws ProviderAlreadyExistsException, ProviderInitializeException { diff --git a/pi4j-test/src/main/java/com/pi4j/test/About.java b/pi4j-test/src/main/java/com/pi4j/test/About.java index ad4d9f47..55148466 100644 --- a/pi4j-test/src/main/java/com/pi4j/test/About.java +++ b/pi4j-test/src/main/java/com/pi4j/test/About.java @@ -1,4 +1,6 @@ -package com.pi4j.test;/*- +package com.pi4j.test; + +/*- * #%L * ********************************************************************** * ORGANIZATION : Pi4J diff --git a/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java b/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java index f86c9345..1e202162 100644 --- a/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java +++ b/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java @@ -110,7 +110,7 @@ protected String[] getProviders() { */ public void setProviders(String ... providerId){ this.supportedProviderIds.clear(); - this.supportedProviderIds.addAll(Arrays.asList(providerId)); + this.supportedProviderIds.addAll(List.of(providerId)); } /** From 7dc929ac3438f04099f420414e90a98d84dc9db9 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 14:55:33 +0100 Subject: [PATCH 3/9] Use List.of --- .../java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java | 5 +---- .../java/com/pi4j/provider/impl/DefaultRuntimeProviders.java | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java b/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java index 2c122fe2..8f6cea23 100644 --- a/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java +++ b/pi4j-core/src/main/java/com/pi4j/platform/impl/DefaultRuntimePlatforms.java @@ -37,10 +37,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Arrays; -import java.util.Collection; -import java.util.Collections; -import java.util.Map; +import java.util.*; import java.util.concurrent.ConcurrentHashMap; /** diff --git a/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java b/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java index 6717a789..fc576d8c 100644 --- a/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java +++ b/pi4j-core/src/main/java/com/pi4j/provider/impl/DefaultRuntimeProviders.java @@ -47,10 +47,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Arrays; -import java.util.Collection; -import java.util.Collections; -import java.util.Map; +import java.util.*; import java.util.concurrent.ConcurrentHashMap; /** From 92e431e0acddff47e2529a857d9f0825b899f89b Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 15:13:10 +0100 Subject: [PATCH 4/9] Extend checkstyle config --- config/checkstyle/checkstyle.xml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index fd77b1a3..7622a7b1 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -5,8 +5,21 @@ - - - + + + + + + + + + + + + + + + + \ No newline at end of file From 12bd651a551a533a5d8be47a558d787640e96f4c Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 15:36:52 +0100 Subject: [PATCH 5/9] Fix unit tests --- .../com/pi4j/test/platform/TestPlatform.java | 1 + pom.xml | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java b/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java index 1e202162..9508e3c4 100644 --- a/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java +++ b/pi4j-test/src/main/java/com/pi4j/test/platform/TestPlatform.java @@ -32,6 +32,7 @@ import java.util.Arrays; import java.util.HashSet; +import java.util.List; import java.util.Set; /** diff --git a/pom.xml b/pom.xml index d510421f..3391540b 100644 --- a/pom.xml +++ b/pom.xml @@ -759,25 +759,6 @@ - - - org.apache.maven.plugins - maven-checkstyle-plugin - 3.5.0 - - - checkstyle-check - - check - - validate - - - - true - config/checkstyle/checkstyle.xml - **/module-info.java - From fa5db7ed0c99395827f5d177aa0115258c653c36 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 15:41:02 +0100 Subject: [PATCH 6/9] Ignore JavaDoc errors --- pom.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3391540b..970675d2 100644 --- a/pom.xml +++ b/pom.xml @@ -278,7 +278,7 @@ 3.1.2 3.2.1 3.4.2 - 3.2.0 + 3.6.3 3.0.0-M4 3.2.0 1.11.2 @@ -501,6 +501,16 @@ + + 11 + false + none + + --add-modules + ALL-MODULE-PATH + + false + From 76a5839b62d9e320c69087e74200149f283c8c7e Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 15:44:45 +0100 Subject: [PATCH 7/9] Ignore JavaDoc errors --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 970675d2..a670d4c9 100644 --- a/pom.xml +++ b/pom.xml @@ -502,7 +502,7 @@ - 11 + ${java.version} false none From 65b68a44bdbf4a32742529a818c9d3abab2d67ce Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 15:45:51 +0100 Subject: [PATCH 8/9] Readd default rules --- config/checkstyle/checkstyle.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 7622a7b1..cd83ec2e 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -5,6 +5,10 @@ + + + + From 6f40bc85418d6e661761fd90a8315e74b9f84e78 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Sat, 16 Nov 2024 15:46:16 +0100 Subject: [PATCH 9/9] Readd default rules --- config/checkstyle/checkstyle.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index cd83ec2e..6acc50cb 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -7,7 +7,7 @@ - +