Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 000a334

Browse files
committed
chore(cufyorg-bson): moved all JavaXXX type aliases into single file
1 parent efae7b0 commit 000a334

12 files changed

Lines changed: 33 additions & 64 deletions

cufyorg-bson/src/jvmMain/kotlin/BsonArray-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonArray =
21-
org.bson.BsonArray
22-
23-
/* ============= ------------------ ============= */
24-
2520
/**
2621
* Return the java version of this bson element.
2722
*/

cufyorg-bson/src/jvmMain/kotlin/BsonConstants-jvm.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonBoolean =
21-
org.bson.BsonBoolean
22-
23-
typealias JavaBsonUndefined =
24-
org.bson.BsonUndefined
25-
26-
typealias JavaBsonNull =
27-
org.bson.BsonNull
28-
29-
/* ============= ------------------ ============= */
30-
3120
/**
3221
* Return the java version of this bson element.
3322
*/

cufyorg-bson/src/jvmMain/kotlin/BsonDateTime-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ import java.util.*
1919

2020
/* ============= ------------------ ============= */
2121

22-
typealias JavaBsonDateTime =
23-
org.bson.BsonDateTime
24-
25-
/* ============= ------------------ ============= */
26-
2722
/**
2823
* Return a [BsonDateTime] with the given [value].
2924
*

cufyorg-bson/src/jvmMain/kotlin/BsonDocument-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonDocument =
21-
org.bson.BsonDocument
22-
23-
/* ============= ------------------ ============= */
24-
2520
/**
2621
* Return the java version of this bson element.
2722
*/

cufyorg-bson/src/jvmMain/kotlin/BsonElement-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonElement =
21-
org.bson.BsonValue
22-
23-
/* ============= ------------------ ============= */
24-
2520
/**
2621
* Return the java version of this bson element.
2722
*/

cufyorg-bson/src/jvmMain/kotlin/BsonNumber-jvm.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ import java.math.BigDecimal
1919

2020
/* ============= ------------------ ============= */
2121

22-
typealias JavaBsonInt32 =
23-
org.bson.BsonInt32
24-
25-
typealias JavaBsonInt64 =
26-
org.bson.BsonInt64
27-
28-
typealias JavaBsonDouble =
29-
org.bson.BsonDouble
30-
31-
typealias JavaBsonDecimal128 =
32-
org.bson.BsonDecimal128
33-
34-
/* ============= ------------------ ============= */
35-
3622
/**
3723
* Return the java version of this bson element.
3824
*/

cufyorg-bson/src/jvmMain/kotlin/BsonObjectId-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonObjectId =
21-
org.bson.BsonObjectId
22-
23-
/* ============= ------------------ ============= */
24-
2520
/**
2621
* Return the java version of this bson element.
2722
*/

cufyorg-bson/src/jvmMain/kotlin/BsonRegExp-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonRegExp =
21-
org.bson.BsonRegularExpression
22-
23-
/* ============= ------------------ ============= */
24-
2520
/**
2621
* Return the java version of this bson element.
2722
*/

cufyorg-bson/src/jvmMain/kotlin/BsonString-jvm.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ package org.cufy.bson
1717

1818
/* ============= ------------------ ============= */
1919

20-
typealias JavaBsonString =
21-
org.bson.BsonString
22-
23-
/* ============= ------------------ ============= */
24-
2520
/**
2621
* Return the java version of this bson element.
2722
*/

cufyorg-bson/src/jvmMain/kotlin/Decimal128-jvm.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import java.math.BigDecimal
2121

2222
/* ============= ------------------ ============= */
2323

24-
typealias JavaDecimal128 = org.bson.types.Decimal128
25-
2624
@Suppress("NOTHING_TO_INLINE", "OVERRIDE_BY_INLINE")
2725
actual class Decimal128(val java: JavaDecimal128) : Number(), Comparable<Decimal128> {
2826
//

0 commit comments

Comments
 (0)