Skip to content

Commit

Permalink
Rename Mqtt3/5Subscription.DEFAULT_QOS -> DEFAULT_MAX_QOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Nov 20, 2023
1 parent 273dadc commit c0c0527
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
public abstract class MqttSubscriptionBuilder<B extends MqttSubscriptionBuilder<B>> {

private @Nullable MqttTopicFilterImpl topicFilter;
private @NotNull MqttQos maxQos = MqttSubscription.DEFAULT_QOS;
private @NotNull MqttQos maxQos = MqttSubscription.DEFAULT_MAX_QOS;
private boolean noLocal = MqttSubscription.DEFAULT_NO_LOCAL;
private @NotNull Mqtt5RetainHandling retainHandling = MqttSubscription.DEFAULT_RETAIN_HANDLING;
private boolean retainAsPublished = MqttSubscription.DEFAULT_RETAIN_AS_PUBLISHED;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
public abstract class Mqtt3SubscriptionViewBuilder<B extends Mqtt3SubscriptionViewBuilder<B>> {

private @Nullable MqttTopicFilterImpl topicFilter;
private @NotNull MqttQos maxQos = Mqtt3SubscriptionView.DEFAULT_QOS;
private @NotNull MqttQos maxQos = Mqtt3SubscriptionView.DEFAULT_MAX_QOS;

Mqtt3SubscriptionViewBuilder() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface Mqtt3Subscription {
* Default {@link MqttQos QoS} level of a Subscription. It is chosen as {@link MqttQos#EXACTLY_ONCE} as this leeds
* to subscribed Publish messages being delivered with its initial {@link MqttQos QoS} level.
*/
@NotNull MqttQos DEFAULT_QOS = MqttQos.EXACTLY_ONCE;
@NotNull MqttQos DEFAULT_MAX_QOS = MqttQos.EXACTLY_ONCE;

/**
* Creates a builder for a Subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface Mqtt5Subscription {
* Default {@link MqttQos QoS} level of a Subscription. It is chosen as {@link MqttQos#EXACTLY_ONCE} as this leeds
* to subscribed Publish messages being delivered with its initial {@link MqttQos QoS} level.
*/
@NotNull MqttQos DEFAULT_QOS = MqttQos.EXACTLY_ONCE;
@NotNull MqttQos DEFAULT_MAX_QOS = MqttQos.EXACTLY_ONCE;
/**
* The default for whether the client must not receive messages published by itself.
*/
Expand Down

0 comments on commit c0c0527

Please sign in to comment.