Skip to content

Commit e357439

Browse files
committed
Cleanup
1 parent e0f799f commit e357439

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/main/java/org/mybatis/dynamic/sql/select/SelectDSL.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.util.List;
2222
import java.util.Optional;
2323
import java.util.function.Consumer;
24-
import java.util.function.Function;
2524

2625
import org.jspecify.annotations.Nullable;
2726
import org.mybatis.dynamic.sql.BasicColumn;
@@ -53,19 +52,14 @@ public static QueryExpressionDSL.FromGatherer select(BasicColumn... selectList)
5352
return select(Arrays.asList(selectList));
5453
}
5554

56-
public static <R> QueryExpressionDSL.FromGatherer select(Function<SelectModel, R> adapterFunction,
57-
BasicColumn... selectList) {
58-
return select(Arrays.asList(selectList));
59-
}
60-
61-
public static <R> QueryExpressionDSL.FromGatherer select(Collection<? extends BasicColumn> selectList) {
55+
public static QueryExpressionDSL.FromGatherer select(Collection<? extends BasicColumn> selectList) {
6256
return new FromGatherer.Builder()
6357
.withSelectList(selectList)
6458
.withSelectDSL(new SelectDSL())
6559
.build();
6660
}
6761

68-
public static <R> QueryExpressionDSL.FromGatherer selectDistinct(BasicColumn... selectList) {
62+
public static QueryExpressionDSL.FromGatherer selectDistinct(BasicColumn... selectList) {
6963
return selectDistinct(Arrays.asList(selectList));
7064
}
7165

0 commit comments

Comments
 (0)