Skip to content

Commit 3c10dc4

Browse files
committed
Fix typo
1 parent ccb87f6 commit 3c10dc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/main/java/ua/naiksoftware/stomp/client/StompClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ public Flowable<Void> send(String destination, String data) {
131131
public Flowable<Void> send(StompMessage stompMessage) {
132132
Flowable<Void> flowable = mConnectionProvider.send(stompMessage.compile());
133133
if (!mConnected) {
134-
ConnectableFlowable<Void> deffered = flowable.publish();
135-
mWaitConnectionFlowables.add(deffered);
136-
return deffered;
134+
ConnectableFlowable<Void> deferred = flowable.publish();
135+
mWaitConnectionFlowables.add(deferred);
136+
return deferred;
137137
} else {
138138
return flowable;
139139
}

0 commit comments

Comments
 (0)