Skip to content

Commit

Permalink
[fix][build] Fix generating javadoc issue (#20922)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technoboy- committed Aug 3, 2023
1 parent 782e91f commit c0f23eb
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import java.util.Set;
import java.util.concurrent.TimeUnit;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.apache.pulsar.client.api.ConsumerCryptoFailureAction;
import org.apache.pulsar.client.api.CryptoKeyReader;
import org.apache.pulsar.client.api.MessageCrypto;
Expand Down Expand Up @@ -118,8 +116,6 @@ public class ReaderConfigurationData<T> implements Serializable, Cloneable {
private ConsumerCryptoFailureAction cryptoFailureAction = ConsumerCryptoFailureAction.FAIL;

@JsonIgnore
@Setter(onMethod_ = @SuppressFBWarnings({"EI_EXPOSE_REP2"}))
@Getter(onMethod_ = @SuppressFBWarnings({"EI_EXPOSE_REP"}))
private transient MessageCrypto messageCrypto = null;

@ApiModelProperty(
Expand Down Expand Up @@ -193,4 +189,14 @@ public ReaderConfigurationData<T> clone() {
throw new RuntimeException("Failed to clone ReaderConfigurationData");
}
}

@SuppressFBWarnings({"EI_EXPOSE_REP"})
public MessageCrypto getMessageCrypto() {
return messageCrypto;
}

@SuppressFBWarnings({"EI_EXPOSE_REP2"})
public void setMessageCrypto(MessageCrypto messageCrypto) {
this.messageCrypto = messageCrypto;
}
}

0 comments on commit c0f23eb

Please sign in to comment.