Skip to content

Commit 2033342

Browse files
author
Vincent Potucek
committed
JUnitToAssertj
1 parent 124d772 commit 2033342

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public void testArtifactMap() throws Exception {
348348
.getClassifier());
349349
}
350350

351-
public static class Artifact {
351+
static class Artifact {
352352
private String groupId;
353353

354354
private String artifactId;

impl/maven-impl/src/test/java/org/apache/maven/impl/model/reflection/ReflectionValueExtractorTest.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -539,16 +539,7 @@ public String getConnection() {
539539
}
540540
}
541541

542-
public static class ValueHolder {
543-
private final Object value;
544-
545-
public ValueHolder(Object value) {
546-
this.value = value;
547-
}
548-
549-
public Object getValue() {
550-
return value;
551-
}
542+
public record ValueHolder(Object value) {
552543
}
553544

554545
/**

0 commit comments

Comments
 (0)