Skip to content

Commit

Permalink
Fix incorrect Javadoc in SimpleSystemProcessExitCodeMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed May 10, 2024
1 parent 75abf15 commit 6bd148c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2023 the original author or authors.
* Copyright 2006-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,9 +22,10 @@
* Simple {@link SystemProcessExitCodeMapper} implementation that performs following
* mapping:
* <p>
* 0 -&gt; ExitStatus.FINISHED else -&gt; ExitStatus.FAILED
* 0 -&gt; ExitStatus.COMPLETED else -&gt; ExitStatus.FAILED
*
* @author Robert Kasanicky
* @author Mahmoud Ben Hassine
*/
public class SimpleSystemProcessExitCodeMapper implements SystemProcessExitCodeMapper {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2008-2022 the original author or authors.
* Copyright 2008-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,7 +28,7 @@ class SimpleSystemProcessExitCodeMapperTests {
private final SimpleSystemProcessExitCodeMapper mapper = new SimpleSystemProcessExitCodeMapper();

/**
* 0 -> ExitStatus.FINISHED else -> ExitStatus.FAILED
* 0 -> ExitStatus.COMPLETED else -> ExitStatus.FAILED
*/
@Test
void testMapping() {
Expand Down

0 comments on commit 6bd148c

Please sign in to comment.