Skip to content

Commit 1a29a4c

Browse files
author
zihluwang
committed
docs: added javadoc
1 parent 1381203 commit 1a29a4c

File tree

2 files changed

+16
-0
lines changed
  • devkit-utils/src/main/java/com/onixbyte/devkit/utils
  • simple-serial-spring-boot-starter/src/main/java/com/onixbyte/serial

2 files changed

+16
-0
lines changed

devkit-utils/src/main/java/com/onixbyte/devkit/utils/ListUtil.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
*/
2929
public final class ListUtil {
3030

31+
/**
32+
* Private constructor to prevent instantiation of this utility class.
33+
* <p>
34+
* This class provides static methods for list manipulation and is not intended to be
35+
* instantiated. The private constructor ensures that no instances can be created, enforcing
36+
* the utility nature of the class.
37+
*/
38+
private ListUtil() {
39+
}
40+
3141
/**
3242
* Splits a given List into a List of sub lists, where each sublist contains at most
3343
* {@code maxSize} elements. The original list is not modified, and new sub lists are created

simple-serial-spring-boot-starter/src/main/java/com/onixbyte/serial/RedisConfig.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
@AutoConfiguration
3333
public class RedisConfig {
3434

35+
/**
36+
* Redis auto configuration.
37+
*/
38+
public RedisConfig() {
39+
}
40+
3541
/**
3642
* RedisTemplate for serial service.
3743
*

0 commit comments

Comments
 (0)