Skip to content

Commit

Permalink
improve method comments a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Feb 11, 2023
1 parent c236baf commit 446bb5c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ private ServerSubscription getServerSub(String channel) {
}

/**
* Create new subscription to channel with certain SubscriptionEventListener
* Create new subscription to channel with SubscriptionOptions and SubscriptionEventListener
*
* @param channel: to create Subscription for.
* @param options: to pass SubscriptionOptions, e.g. token.
Expand All @@ -535,7 +535,8 @@ public Subscription newSubscription(String channel, SubscriptionOptions options,
}

/**
* Create new subscription to channel with certain SubscriptionEventListener
* Create new subscription to channel with SubscriptionEventListener, see also
* overloaded newSubscription which allows setting SubscriptionOptions
*
* @param channel: to create Subscription for.
* @param listener: to pass event handler.
Expand Down

0 comments on commit 446bb5c

Please sign in to comment.