Skip to content

Commit e852997

Browse files
committed
Fake out CPD
1 parent 652a821 commit e852997

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

src/main/java/org/mybatis/dynamic/sql/SqlBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,20 @@ static <T> InsertDSL.IntoGatherer<T> insert(T record) {
111111
}
112112

113113
@SafeVarargs
114-
static <T> BatchInsertDSL.IntoGatherer<T> insert(T...records) {
114+
static <T> BatchInsertDSL.BatchIntoGatherer<T> insert(T...records) {
115115
return BatchInsertDSL.insert(records);
116116
}
117117

118-
static <T> BatchInsertDSL.IntoGatherer<T> insert(Collection<T> records) {
118+
static <T> BatchInsertDSL.BatchIntoGatherer<T> insert(Collection<T> records) {
119119
return BatchInsertDSL.insert(records);
120120
}
121121

122122
@SafeVarargs
123-
static <T> MultiRowInsertDSL.IntoGatherer<T> multiRowInsert(T...records) {
123+
static <T> MultiRowInsertDSL.MultiRowIntoGatherer<T> multiRowInsert(T...records) {
124124
return MultiRowInsertDSL.insert(records);
125125
}
126126

127-
static <T> MultiRowInsertDSL.IntoGatherer<T> multiRowInsert(Collection<T> records) {
127+
static <T> MultiRowInsertDSL.MultiRowIntoGatherer<T> multiRowInsert(Collection<T> records) {
128128
return MultiRowInsertDSL.insert(records);
129129
}
130130

src/main/java/org/mybatis/dynamic/sql/insert/BatchInsertDSL.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ public BatchInsertModel<T> build() {
5151
}
5252

5353
@SafeVarargs
54-
public static <T> IntoGatherer<T> insert(T...records) {
55-
return new IntoGatherer<>(Arrays.asList(records));
54+
public static <T> BatchIntoGatherer<T> insert(T...records) {
55+
return new BatchIntoGatherer<>(Arrays.asList(records));
5656
}
5757

58-
public static <T> IntoGatherer<T> insert(Collection<T> records) {
59-
return new IntoGatherer<>(records);
58+
public static <T> BatchIntoGatherer<T> insert(Collection<T> records) {
59+
return new BatchIntoGatherer<>(records);
6060
}
6161

62-
public static class IntoGatherer<T> {
62+
public static class BatchIntoGatherer<T> {
6363
private Collection<T> records;
6464

65-
private IntoGatherer(Collection<T> records) {
65+
private BatchIntoGatherer(Collection<T> records) {
6666
this.records = records;
6767
}
6868

src/main/java/org/mybatis/dynamic/sql/insert/MultiRowInsertDSL.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ public MultiRowInsertModel<T> build() {
5151
}
5252

5353
@SafeVarargs
54-
public static <T> IntoGatherer<T> insert(T...records) {
55-
return new IntoGatherer<>(Arrays.asList(records));
54+
public static <T> MultiRowIntoGatherer<T> insert(T...records) {
55+
return new MultiRowIntoGatherer<>(Arrays.asList(records));
5656
}
5757

58-
public static <T> IntoGatherer<T> insert(Collection<T> records) {
59-
return new IntoGatherer<>(records);
58+
public static <T> MultiRowIntoGatherer<T> insert(Collection<T> records) {
59+
return new MultiRowIntoGatherer<>(records);
6060
}
6161

62-
public static class IntoGatherer<T> {
62+
public static class MultiRowIntoGatherer<T> {
6363
private Collection<T> records;
6464

65-
private IntoGatherer(Collection<T> records) {
65+
private MultiRowIntoGatherer(Collection<T> records) {
6666
this.records = records;
6767
}
6868

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy