Skip to content

Commit b4268cf

Browse files
committed
rename method
1 parent ef252ef commit b4268cf

File tree

1 file changed

+4
-4
lines changed
  • airbyte-cdk/bulk/toolkits/load-db/src/main/kotlin/io/airbyte/cdk/load/orchestration/db

1 file changed

+4
-4
lines changed

airbyte-cdk/bulk/toolkits/load-db/src/main/kotlin/io/airbyte/cdk/load/orchestration/db/DestinationNames.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ data class TableNames(
2020
}
2121
}
2222

23-
fun conflictsWith(other: TableNames) =
24-
this.rawTableName.conflictsWith(other.rawTableName) ||
25-
this.finalTableName.conflictsWith(other.finalTableName)
23+
fun hasNamingConflictWith(other: TableNames) =
24+
this.rawTableName.hasNamingConflictWith(other.rawTableName) ||
25+
this.finalTableName.hasNamingConflictWith(other.finalTableName)
2626

2727
fun prettyPrint() =
2828
"Raw table: ${rawTableName?.prettyPrint()}; Final table: ${finalTableName?.prettyPrint()}"
@@ -40,7 +40,7 @@ data class TableName(val namespace: String, val name: String) {
4040
"$quote$namespace$quote.$quote$name$suffix$quote"
4141
}
4242

43-
fun TableName?.conflictsWith(other: TableName?): Boolean {
43+
fun TableName?.hasNamingConflictWith(other: TableName?): Boolean {
4444
if (this == null || other == null) {
4545
return false
4646
}

0 commit comments

Comments
 (0)