Skip to content

Commit

Permalink
Client options will message string getter/setter deprecated removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Dec 17, 2024
1 parent a8c66eb commit e984e4b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/main/java/io/vertx/mqtt/MqttClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,6 @@ public String getWillTopic() {
return willTopic;
}

/**
* @return will message content
*/
@Deprecated
@GenIgnore
public String getWillMessage() {
return willMessageBytes.toString(StandardCharsets.UTF_8);
}

/**
* @return will message bytes content
*/
Expand Down Expand Up @@ -260,19 +251,6 @@ public MqttClientOptions setWillTopic(String willTopic) {
return this;
}

/**
* Set the content of the will message
*
* @param willMessage content of the will message
* @return current options instance
*/
@Deprecated
@GenIgnore
public MqttClientOptions setWillMessage(String willMessage) {
this.willMessageBytes = Buffer.buffer(willMessage.getBytes(StandardCharsets.UTF_8));
return this;
}

/**
* Set the content of the will message
*
Expand Down

0 comments on commit e984e4b

Please sign in to comment.