Skip to content

Commit 131c320

Browse files
Nelson Osackyqwwdfsad
Nelson Osacky
authored andcommitted
Use US English Spelling for BehaviorSubject.
This represents a class in the RxJava library. Not saying US English is better, but it is. https://github.com/ReactiveX/RxJava/blob/2.x/src/main/java/io/reactivex/subjects/BehaviorSubject.java
1 parent 1156e1c commit 131c320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

binary-compatibility-validator/reference-public-api/kotlinx-coroutines-core.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ public abstract interface class kotlinx/coroutines/flow/FlowCollector {
826826

827827
public final class kotlinx/coroutines/flow/FlowKt {
828828
public static final field DEFAULT_CONCURRENCY_PROPERTY_NAME Ljava/lang/String;
829-
public static final fun BehaviourSubject ()Ljava/lang/Object;
829+
public static final fun BehaviorSubject ()Ljava/lang/Object;
830830
public static final fun PublishSubject ()Ljava/lang/Object;
831831
public static final fun ReplaySubject ()Ljava/lang/Object;
832832
public static final fun asFlow (Ljava/lang/Iterable;)Lkotlinx/coroutines/flow/Flow;

kotlinx-coroutines-core/common/src/flow/Migration.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public fun <T> Flow<T>.subscribeOn(context: CoroutineContext): Flow<T> = noImpl(
104104
* @suppress
105105
*/
106106
@Deprecated(message = "Use BroadcastChannel.asFlow()", level = DeprecationLevel.ERROR)
107-
public fun BehaviourSubject(): Any = noImpl()
107+
public fun BehaviorSubject(): Any = noImpl()
108108

109109
/**
110110
* `ReplaySubject` is not supported. The closest analogue is buffered [BroadcastChannel][kotlinx.coroutines.channels.BroadcastChannel].

0 commit comments

Comments
 (0)