summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocumentapi/src/main/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSession.java2
-rw-r--r--messagebus/src/main/java/com/yahoo/messagebus/DestinationSession.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSession.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSession.java
index 257d491ea93..982a1c50b85 100755
--- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSession.java
+++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSession.java
@@ -917,7 +917,7 @@ public class MessageBusVisitorSession implements VisitorSession {
}
}
if (isErrorOfType(reply, DocumentProtocol.ERROR_WRONG_DISTRIBUTION)) {
- handleWrongDistributionReply((WrongDistributionReply)reply);
+ handleWrongDistributionReply((WrongDistributionReply) reply);
} else {
if (shouldReportError(reply)) {
reportVisitorError(message);
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.
*/