Skip to content

Commit 1c7e48a

Browse files
committed
update lib / code check
Signed-off-by: neo <1100909+neowu@users.noreply.github.com>
1 parent b30bed0 commit 1c7e48a

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ project("core-ng") {
3838
implementation("org.javassist:javassist:3.30.2-GA")
3939
implementation("com.fasterxml.jackson.module:jackson-module-afterburner:${jacksonVersion}")
4040
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}")
41-
implementation("com.squareup.okhttp3:okhttp:5.3.1")
41+
implementation("com.squareup.okhttp3:okhttp:5.3.2")
4242
implementation("io.undertow:undertow-core:2.3.20.Final")
43-
implementation("org.apache.kafka:kafka-clients:4.1.0") {
43+
implementation("org.apache.kafka:kafka-clients:4.1.1") {
4444
exclude("org.xerial.snappy")
4545
exclude("org.lz4")
4646
}

buildSrc/src/main/check/pmd.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
<rule ref="category/java/errorprone.xml/AvoidAssertAsIdentifier"/>
9898
<rule ref="category/java/errorprone.xml/AvoidBranchingStatementAsLastInLoop"/>
9999
<rule ref="category/java/errorprone.xml/AvoidCallingFinalize"/>
100-
<rule ref="category/java/errorprone.xml/AvoidCatchingNPE"/>
101100
<rule ref="category/java/errorprone.xml/AvoidDecimalLiteralsInBigDecimalConstructor"/>
102101
<rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier"/>
103102
<rule ref="category/java/errorprone.xml/AvoidInstanceofChecksInCatchClause"/>

buildSrc/src/main/kotlin/check.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply(plugin = "jacoco-report-aggregation")
1616

1717
checkstyle {
1818
dependencies {
19-
checkstyle("com.puppycrawl.tools:checkstyle:12.1.1")
19+
checkstyle("com.puppycrawl.tools:checkstyle:12.2.0")
2020
checkstyle("com.github.sevntu-checkstyle:sevntu-checks:1.44.1")
2121
}
2222

@@ -44,7 +44,7 @@ checkstyle {
4444
pmd {
4545
ruleSets = listOf()
4646
ruleSetFiles = rootProject.files("buildSrc/src/main/check/pmd.xml")
47-
toolVersion = "7.18.0"
47+
toolVersion = "7.19.0"
4848
isConsoleOutput = true
4949

5050
tasks.withType<Pmd> {

core-ng/src/main/java/core/framework/internal/validate/ClassValidatorSupport.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public void validateClass(Class<?> objectClass) {
3333
}
3434

3535
// return fields to validate
36-
@SuppressWarnings("PMD.UseArraysAsList") // false positive, return filtered results
3736
public List<Field> declaredFields(Class<?> objectClass) {
3837
Field[] fields = objectClass.getDeclaredFields();
3938
List<Field> results = new ArrayList<>(fields.length);

0 commit comments

Comments
 (0)