From 3e1237c1eb1c4a27acc34e3046512c8936415e40 Mon Sep 17 00:00:00 2001 From: Jiri Danek Date: Wed, 28 Jun 2017 14:09:37 +0200 Subject: [PATCH] NO-JIRA fix few typos and a docstring --- .../java/org/apache/activemq/artemis/api/core/Message.java | 2 +- docs/hacking-guide/en/code.md | 2 +- .../artemis/tests/integration/client/SlowConsumerTest.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/Message.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/Message.java index bef2f812a3..488fff0f3e 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/Message.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/Message.java @@ -70,7 +70,7 @@ import org.apache.activemq.artemis.core.persistence.Persister; */ public interface Message { - // This is an estimate of how much memory a Message takes up, exclusing body and properties + // This is an estimate of how much memory a Message takes up, excluding body and properties // Note, it is only an estimate, it's not possible to be entirely sure with Java // This figure is calculated using the test utilities in org.apache.activemq.tests.unit.util.sizeof // The value is somewhat higher on 64 bit architectures, probably due to different alignment diff --git a/docs/hacking-guide/en/code.md b/docs/hacking-guide/en/code.md index 8ca27f64e9..bb552e9c49 100644 --- a/docs/hacking-guide/en/code.md +++ b/docs/hacking-guide/en/code.md @@ -37,7 +37,7 @@ related JIRA or an email to the [dev list](http://activemq.apache.org/mailing-li 1. Build with Maven - Typically developers will want to build using the `dev` profile which disables license and code style checks. For + Typically developers will want to build using the `dev` profile which enables license and code style checks. For example: $ mvn -Pdev install diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SlowConsumerTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SlowConsumerTest.java index a147d396cf..0e4319790d 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SlowConsumerTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SlowConsumerTest.java @@ -362,9 +362,9 @@ public class SlowConsumerTest extends ActiveMQTestBase { * messages at a rate of 2 messages per second. Each consumer * consumes messages at rate of 1 message per second. The slow * consumer threshold is 1 message per second. - * Based on the above settings, at least one of the consumers - * will be removed during the test, but at least one of the - * consumers will remain and all messages will be received. + * Based on the above settings, slow consumer removal will not + * be performed (2 < 3*1), so no consumer will be removed during the + * test, and all messages will be received. */ @Test public void testMultipleConsumersOneQueue() throws Exception {