Skip to content

Commit e72b521

Browse files
committed
[ECO-5426] Updated LiveCounter to return Number instead of Double
1 parent 529efd8 commit e72b521

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/main/java/io/ably/lib/objects/LiveCounter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ public interface LiveCounter {
5858
*/
5959
@NotNull
6060
@Contract(pure = true) // Indicates this method does not modify the state of the object.
61-
Double value();
61+
Number value();
6262
}

live-objects/src/main/kotlin/io/ably/lib/objects/type/livecounter/DefaultLiveCounter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal class DefaultLiveCounter private constructor(
5050
TODO("Not yet implemented")
5151
}
5252

53-
override fun value(): Double {
53+
override fun value(): Number {
5454
TODO("Not yet implemented")
5555
}
5656

0 commit comments

Comments
 (0)