Skip to content

Commit

Permalink
Sync integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 authored and rickie committed Mar 25, 2024
1 parent 5195120 commit 50dfd35
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions integration-tests/checkstyle-expected-changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -53686,6 +53686,15 @@
final ModuleFactory moduleFactory = TestUtil.getPackageObjectFactory();

final Path path = Paths.get(XdocUtil.DIRECTORY_PATH + "/config.xml");
@@ -1081,7 +1083,7 @@ public class XdocsPagesTest {
Optional.ofNullable(field)
.map(nonNullField -> nonNullField.getAnnotation(XdocsPropertyType.class))
.map(propertyType -> propertyType.value().getDescription())
- .orElse(fieldClass.getSimpleName());
+ .orElseGet(fieldClass::getSimpleName);
final String expectedValue =
getModulePropertyExpectedValue(sectionName, propertyName, field, fieldClass, instance);

@@ -1364,7 +1366,7 @@ public class XdocsPagesTest {
final Object[] array = (Object[]) value;
valuesStream = Arrays.stream(array);
Expand Down

0 comments on commit 50dfd35

Please sign in to comment.