Skip to content

Commit a979986

Browse files
committed
Merge pull request #113 from adstro/fix-javadoc-typos
Fix small typos in javadoc.
2 parents 69ba933 + 301502a commit a979986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/pusher/client/Pusher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public PrivateChannel subscribePrivate(final String channelName) {
268268
*
269269
* @param channelName The name of the channel to subscribe to.
270270
* @param listener A listener to be informed of both Pusher channel protocol events and subscription data events.
271-
* @param eventNames An optional list of names of events to be bound to on the channel. The equivalent of calling {@link com.pusher.client.channel.Channel#bind(String, SubscriptionEventListener)} on or more times.
271+
* @param eventNames An optional list of names of events to be bound to on the channel. The equivalent of calling {@link com.pusher.client.channel.Channel#bind(String, SubscriptionEventListener)} one or more times.
272272
* @return A new {@link com.pusher.client.channel.PrivateChannel} representing the subscription.
273273
* @throws IllegalStateException if a {@link com.pusher.client.Authorizer} has not been set for the {@link Pusher} instance via {@link #Pusher(String, PusherOptions)}.
274274
*/
@@ -307,7 +307,7 @@ public PresenceChannel subscribePresence(final String channelName) {
307307
*
308308
* @param channelName The name of the channel to subscribe to.
309309
* @param listener A listener to be informed of Pusher channel protocol, including presence-specific events, and subscription data events.
310-
* @param eventNames An optional list of names of events to be bound to on the channel. The equivalent of calling {@link com.pusher.client.channel.Channel#bind(String, SubscriptionEventListener)} on or more times.
310+
* @param eventNames An optional list of names of events to be bound to on the channel. The equivalent of calling {@link com.pusher.client.channel.Channel#bind(String, SubscriptionEventListener)} one or more times.
311311
* @return A new {@link com.pusher.client.channel.PresenceChannel} representing the subscription.
312312
* @throws IllegalStateException if a {@link com.pusher.client.Authorizer} has not been set for the {@link Pusher} instance via {@link #Pusher(String, PusherOptions)}.
313313
*/

0 commit comments

Comments
 (0)