-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert functional interfaces to kotlin
- Loading branch information
1 parent
8058e12
commit 1665b62
Showing
10 changed files
with
44 additions
and
59 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
...rbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedBiConsumer.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...rbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedBiFunction.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedConsumer.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedFunction.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedSupplier.java
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...rbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/functional/CheckedBiConsumer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
*/ | ||
package io.airbyte.commons.functional | ||
|
||
import org.apache.commons.lang3.function.FailableBiConsumer | ||
|
||
@FunctionalInterface | ||
interface CheckedBiConsumer<T, R, E : Throwable?> : FailableBiConsumer<T, R, E> |
8 changes: 8 additions & 0 deletions
8
...rbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/functional/CheckedBiFunction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
*/ | ||
package io.airbyte.commons.functional | ||
|
||
import org.apache.commons.lang3.function.FailableBiFunction | ||
|
||
interface CheckedBiFunction<First, Second, Result, E : Throwable?> : FailableBiFunction<First, Second, Result, E> |
9 changes: 9 additions & 0 deletions
9
...airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/functional/CheckedConsumer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
*/ | ||
package io.airbyte.commons.functional | ||
|
||
import org.apache.commons.lang3.function.FailableConsumer | ||
|
||
@FunctionalInterface | ||
interface CheckedConsumer<T, E : Throwable?> : FailableConsumer<T, E> |
9 changes: 9 additions & 0 deletions
9
...airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/functional/CheckedFunction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
*/ | ||
package io.airbyte.commons.functional | ||
|
||
import org.apache.commons.lang3.function.FailableFunction | ||
|
||
@FunctionalInterface | ||
interface CheckedFunction<T, R, E : Throwable?> : FailableFunction<T, R, E> |
9 changes: 9 additions & 0 deletions
9
...airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/functional/CheckedSupplier.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
*/ | ||
package io.airbyte.commons.functional | ||
|
||
import org.apache.commons.lang3.function.FailableSupplier | ||
|
||
@FunctionalInterface | ||
interface CheckedSupplier<T, E : Throwable?> : FailableSupplier<T, E> |