Fix wrong indent
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
85a63425b2
commit
44c0b8d557
@@ -67,7 +67,7 @@ public class SingleItemPeekableItemReader<T> implements ItemStreamReader<T>, Pee
|
||||
*
|
||||
* @see ItemReader#read()
|
||||
*/
|
||||
@Nullable
|
||||
@Nullable
|
||||
@Override
|
||||
public T read() throws Exception, UnexpectedInputException, ParseException {
|
||||
if (next != null) {
|
||||
@@ -88,7 +88,7 @@ public class SingleItemPeekableItemReader<T> implements ItemStreamReader<T>, Pee
|
||||
*
|
||||
* @see PeekableItemReader#peek()
|
||||
*/
|
||||
@Nullable
|
||||
@Nullable
|
||||
@Override
|
||||
public T peek() throws Exception, UnexpectedInputException, ParseException {
|
||||
if (next == null) {
|
||||
@@ -105,7 +105,7 @@ public class SingleItemPeekableItemReader<T> implements ItemStreamReader<T>, Pee
|
||||
* @throws ItemStreamException if there is a problem
|
||||
* @see ItemStream#close()
|
||||
*/
|
||||
@Override
|
||||
@Override
|
||||
public void close() throws ItemStreamException {
|
||||
next = null;
|
||||
if (delegate instanceof ItemStream) {
|
||||
@@ -122,7 +122,7 @@ public class SingleItemPeekableItemReader<T> implements ItemStreamReader<T>, Pee
|
||||
* @throws ItemStreamException if there is a problem
|
||||
* @see ItemStream#open(ExecutionContext)
|
||||
*/
|
||||
@Override
|
||||
@Override
|
||||
public void open(ExecutionContext executionContext) throws ItemStreamException {
|
||||
next = null;
|
||||
if (delegate instanceof ItemStream) {
|
||||
@@ -140,7 +140,7 @@ public class SingleItemPeekableItemReader<T> implements ItemStreamReader<T>, Pee
|
||||
* @throws ItemStreamException if there is a problem
|
||||
* @see ItemStream#update(ExecutionContext)
|
||||
*/
|
||||
@Override
|
||||
@Override
|
||||
public void update(ExecutionContext executionContext) throws ItemStreamException {
|
||||
if (next != null) {
|
||||
// Get the last state from the delegate instead of using
|
||||
|
||||
Reference in New Issue
Block a user