Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message: Fix typo in javadoc #911

Merged
merged 4 commits into from
May 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/main/java/io/nats/client/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* The NATS library uses a Message object to encapsulate incoming messages. Applications
* publish and send requests with raw strings and byte[] but incoming messages can have a few
* values, so they need a wrapper.
*
*
* <p>The byte[] returned by {@link #getData() getData()} is not shared with any library code
* and is safe to manipulate.
*/
Expand Down Expand Up @@ -135,7 +135,8 @@ public interface Message {
void nakWithDelay(long nakDelayMillis);

/**
* term prevents this message from every being delivered regardless of maxDeliverCount.
* term instructs the server to stop redelivery of this message without acknowledging it as
* successfully processed.
*/
void term();

Expand All @@ -145,7 +146,7 @@ public interface Message {
void inProgress();

/**
* Checks if a message is from Jetstream or is a standard message.
* Checks if a message is from JetStream or is a standard message.
* @return true if the message is from JetStream.
*/
boolean isJetStream();
Expand Down