Skip to content

Commit ed99bcc

Browse files
committed
#64: Remove deprecated API.
Signed-off-by: Franz Wilhelmstötter <franz.wilhelmstoetter@gmail.com>
1 parent a388c90 commit ed99bcc

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

facilejdbc/src/main/java/io/jenetics/facilejdbc/RowParser.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import java.time.Instant;
3232
import java.time.LocalDate;
3333
import java.util.ArrayList;
34-
import java.util.Arrays;
3534
import java.util.Collection;
3635
import java.util.HashSet;
3736
import java.util.List;
@@ -41,7 +40,6 @@
4140
import java.util.Spliterator;
4241
import java.util.function.BiFunction;
4342
import java.util.function.Function;
44-
import java.util.function.IntFunction;
4543
import java.util.function.Supplier;
4644
import java.util.stream.Stream;
4745
import java.util.stream.StreamSupport;
@@ -874,27 +872,6 @@ static RowParser<String> csvLine() {
874872
};
875873
}
876874

877-
/**
878-
* Creates a {@link RowParser} for the given record {@code type}.
879-
* {@snippet lang="java":
880-
* // Handling different column names and column types:
881-
* // [title, author, isbn, pages, published_at]
882-
* final RowParser<Book> parser = RowParser.record(Book.class);
883-
* }
884-
*
885-
* @see Records#parser(Class)
886-
*
887-
* @param type the record type
888-
* @param <T> the record type
889-
* @return a new row-parser for the given record {@code type}
890-
* @throws NullPointerException if one of the arguments is {@code null}
891-
* @deprecated Use {@link #record(Class)} instead
892-
*/
893-
@Deprecated(since = "2.1", forRemoval = true)
894-
static <T extends Record> RowParser<T> of(final Class<T> type) {
895-
return Records.parser(type);
896-
}
897-
898875
/**
899876
* Returns a parser for the given record {@code type}.
900877
* {@snippet lang="java":

0 commit comments

Comments
 (0)