summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2020-12-30 11:59:47 +0100
committerJon Marius Venstad <venstad@gmail.com>2020-12-30 11:59:56 +0100
commit965d21f339ccca4fc042eab8c76d1d055fb0863b (patch)
treebc9e333f358fd97504e1863638350212c669d737 /messagebus
parent3ca9668a22041a80ffebc53924f5c5c244b484e8 (diff)
Non-functional
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/main/java/com/yahoo/messagebus/DestinationSession.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/messagebus/src/main/java/com/yahoo/messagebus/DestinationSession.java b/messagebus/src/main/java/com/yahoo/messagebus/DestinationSession.java
index 1f5d60a630a..a4b5422d502 100644
--- a/messagebus/src/main/java/com/yahoo/messagebus/DestinationSession.java
+++ b/messagebus/src/main/java/com/yahoo/messagebus/DestinationSession.java
@@ -57,7 +57,7 @@ public final class DestinationSession implements MessageHandler {
}
/**
- * Conveniece method for acknowledging a message back to the sender.
+ * Convenience method for acknowledging a message for its sender.
*
* This is equivalent to:
* <pre>
@@ -69,7 +69,7 @@ public final class DestinationSession implements MessageHandler {
* Messages should be acknowledged when
* <ul>
* <li>this destination has safely and permanently applied the message, or
- * <li>an intermediate determines that the purpose of the message is fullfilled without forwarding the message
+ * <li>an intermediate determines that the purpose of the message is fulfilled without forwarding the message.
* </ul>
*
* @param msg The message to acknowledge back to the sender.
@@ -82,8 +82,8 @@ public final class DestinationSession implements MessageHandler {
}
/**
- * Sends a reply to a message. The reply will propagate back to the original sender, prefering the same route as it
- * used to reach the detination.
+ * Sends a reply to a message. The reply will propagate back to the original sender, preferring the same route as it
+ * used to reach the destination.
*
* @param reply The reply, created from the message this is a reply to.
*/