Skip to content

Commit b642d87

Browse files
convert functional interfaces to kotlin
1 parent 496711f commit b642d87

File tree

11 files changed

+42
-60
lines changed

11 files changed

+42
-60
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=0.28.15
1+
version=0.28.16

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedBiConsumer.java

-12
This file was deleted.

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedBiFunction.java

-11
This file was deleted.

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedConsumer.java

-12
This file was deleted.

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedFunction.java

-12
This file was deleted.

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/java/io/airbyte/commons/functional/CheckedSupplier.java

-12
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3+
*/
4+
package io.airbyte.commons.functional
5+
6+
import org.apache.commons.lang3.function.FailableBiConsumer
7+
8+
fun interface CheckedBiConsumer<T, R, E : Throwable?> : FailableBiConsumer<T, R, E>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3+
*/
4+
package io.airbyte.commons.functional
5+
6+
import org.apache.commons.lang3.function.FailableBiFunction
7+
8+
fun interface CheckedBiFunction<First, Second, Result, E : Throwable?> :
9+
FailableBiFunction<First, Second, Result, E>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3+
*/
4+
package io.airbyte.commons.functional
5+
6+
import org.apache.commons.lang3.function.FailableConsumer
7+
8+
fun interface CheckedConsumer<T, E : Throwable?> : FailableConsumer<T, E>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3+
*/
4+
package io.airbyte.commons.functional
5+
6+
import org.apache.commons.lang3.function.FailableFunction
7+
8+
fun interface CheckedFunction<T, R, E : Throwable?> : FailableFunction<T, R, E>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3+
*/
4+
package io.airbyte.commons.functional
5+
6+
import org.apache.commons.lang3.function.FailableSupplier
7+
8+
fun interface CheckedSupplier<T, E : Throwable?> : FailableSupplier<T, E>

0 commit comments

Comments
 (0)