Fix incorrect Javadoc in SimpleSystemProcessExitCodeMapper
This commit is contained in:
@@ -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.
|
||||
@@ -22,9 +22,10 @@ import org.springframework.batch.core.ExitStatus;
|
||||
* Simple {@link SystemProcessExitCodeMapper} implementation that performs following
|
||||
* mapping:
|
||||
* <p>
|
||||
* 0 -> ExitStatus.FINISHED else -> ExitStatus.FAILED
|
||||
* 0 -> ExitStatus.COMPLETED else -> ExitStatus.FAILED
|
||||
*
|
||||
* @author Robert Kasanicky
|
||||
* @author Mahmoud Ben Hassine
|
||||
*/
|
||||
public class SimpleSystemProcessExitCodeMapper implements SystemProcessExitCodeMapper {
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user