remove redundant precondition check on TopicAliasUsage
@@ -185,7 +185,6 @@ public class Mqtt5PublishBuilder<P> extends FluentBuilder<Mqtt5Publish, P> {
@NotNull
public Mqtt5PublishBuilder<P> topicAliasUsage(@NotNull final TopicAliasUsage topicAliasUsage) {
- Preconditions.checkArgument(topicAliasUsage == NO || topicAliasUsage == IF_AVAILABLE || topicAliasUsage == YES);
this.topicAliasUsage = topicAliasUsage;
return this;
}
