[#6730] Typo in Cursor.fetchOne() Javadoc's deprecation hint
This commit is contained in:
parent
4177e25c78
commit
02700093d0
@ -271,7 +271,7 @@ public interface Cursor<R extends Record> extends Iterable<R> , AutoCloseable {
|
||||
<Z extends Record> Result<Z> fetchInto(Table<Z> table) throws DataAccessException, MappingException;
|
||||
|
||||
/**
|
||||
* @deprecated - 3.10 - [#6363] - Use {@link #fetchOne()} instead.
|
||||
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNext()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
R fetchOne() throws DataAccessException;
|
||||
|
||||
@ -335,21 +335,25 @@ final class CursorImpl<R extends Record> implements Cursor<R> {
|
||||
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public Optional<R> fetchOptional() {
|
||||
return fetchNextOptional();
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public <E> Optional<E> fetchOptional(RecordMapper<? super R, E> mapper) {
|
||||
return fetchNextOptional(mapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public <E> Optional<E> fetchOptionalInto(Class<? extends E> type) {
|
||||
return fetchNextOptionalInto(type);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public <Z extends Record> Optional<Z> fetchOptionalInto(Table<Z> table) {
|
||||
return fetchNextOptionalInto(table);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user