Skip to content

Commit 87cd79f

Browse files
laeubimarcphilipp
andauthored
Apply suggestion from @marcphilipp
Co-authored-by: Marc Philipp <[email protected]>
1 parent 3ab0fbd commit 87cd79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junit-platform-reporting/src/main/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void testPlanExecutionStarted(TestPlan testPlan) {
147147

148148
private DocumentWriter<Events> createDocumentWriter(ConfigurationParameters config,
149149
NamespaceRegistry namespaceRegistry) throws Exception {
150-
return config.get(SOCKET_PROPERTY_NAME) //
150+
return config.get(SOCKET_PROPERTY_NAME, Integer::valueOf) //
151151
.map(portString -> {
152152
try {
153153
int port = Integer.parseInt(portString);

0 commit comments

Comments
 (0)