diff --git a/src/main/java/org/cactoos/math/Max.java b/src/main/java/org/cactoos/math/Max.java index bf201a78f7..02eb414e7a 100644 --- a/src/main/java/org/cactoos/math/Max.java +++ b/src/main/java/org/cactoos/math/Max.java @@ -32,7 +32,7 @@ * * @author Fabricio Cabral (fabriciofx@gmail.com) * @version $Id$ - * @since 0.6 + * @since 0.7 */ public final class Max implements Scalar { diff --git a/src/main/java/org/cactoos/math/Min.java b/src/main/java/org/cactoos/math/Min.java index 3953891ff3..cf73b90907 100644 --- a/src/main/java/org/cactoos/math/Min.java +++ b/src/main/java/org/cactoos/math/Min.java @@ -32,7 +32,7 @@ * * @author Fabricio Cabral (fabriciofx@gmail.com) * @version $Id$ - * @since 0.6 + * @since 0.7 */ public final class Min implements Scalar { diff --git a/src/test/java/org/cactoos/math/MaxTest.java b/src/test/java/org/cactoos/math/MaxTest.java index 7465d9606d..795d71932c 100644 --- a/src/test/java/org/cactoos/math/MaxTest.java +++ b/src/test/java/org/cactoos/math/MaxTest.java @@ -32,16 +32,15 @@ * * @author Fabricio Cabral (fabriciofx@gmail.com) * @version $Id$ - * @since 0.6 + * @since 0.7 * @checkstyle JavadocMethodCheck (500 lines) */ -@SuppressWarnings("PMD.AvoidDuplicateLiterals") public final class MaxTest { @Test public void maxAmongOneTest() throws Exception { MatcherAssert.assertThat( - "Can't find the greater number", + "Can't find the greater among one number", // @checkstyle MagicNumber (2 lines) new Max(10).asValue(), Matchers.equalTo(10) @@ -51,7 +50,7 @@ public void maxAmongOneTest() throws Exception { @Test public void maxAmongManyTest() throws Exception { MatcherAssert.assertThat( - "Can't find the greater number", + "Can't find the greater among many numbers", // @checkstyle MagicNumber (2 lines) new Max(10, 5, 7, 2, 100).asValue(), Matchers.equalTo(100) diff --git a/src/test/java/org/cactoos/math/MinTest.java b/src/test/java/org/cactoos/math/MinTest.java index 028ea7d434..d34b4cbf9b 100644 --- a/src/test/java/org/cactoos/math/MinTest.java +++ b/src/test/java/org/cactoos/math/MinTest.java @@ -32,16 +32,15 @@ * * @author Fabricio Cabral (fabriciofx@gmail.com) * @version $Id$ - * @since 0.6 + * @since 0.7 * @checkstyle JavadocMethodCheck (500 lines) */ -@SuppressWarnings("PMD.AvoidDuplicateLiterals") public final class MinTest { @Test public void minAmongOneTest() throws Exception { MatcherAssert.assertThat( - "Can't find the smaller number", + "Can't find the smaller among one number", // @checkstyle MagicNumber (2 lines) new Min(10).asValue(), Matchers.equalTo(10) @@ -51,7 +50,7 @@ public void minAmongOneTest() throws Exception { @Test public void minAmongManyTest() throws Exception { MatcherAssert.assertThat( - "Can't find the smaller number", + "Can't find the smaller among many numbers", // @checkstyle MagicNumber (2 lines) new Min(10, 5, 7, 2, 100).asValue(), Matchers.equalTo(2)