diff --git a/src/main/java/org/cactoos/iterable/IterableOfDoubles.java b/src/main/java/org/cactoos/iterable/IterableOfDoubles.java index 01f3588ef4..fdbe7182b2 100644 --- a/src/main/java/org/cactoos/iterable/IterableOfDoubles.java +++ b/src/main/java/org/cactoos/iterable/IterableOfDoubles.java @@ -39,7 +39,6 @@ public final class IterableOfDoubles extends IterableEnvelope { * Ctor. * @param values Double values */ - @SuppressWarnings("PMD.AvoidUsingShortType") public IterableOfDoubles(final double... values) { super(() -> { final Collection iterable = diff --git a/src/main/java/org/cactoos/iterable/IterableOfFloats.java b/src/main/java/org/cactoos/iterable/IterableOfFloats.java index 77444e3273..9f8f960722 100644 --- a/src/main/java/org/cactoos/iterable/IterableOfFloats.java +++ b/src/main/java/org/cactoos/iterable/IterableOfFloats.java @@ -39,7 +39,6 @@ public final class IterableOfFloats extends IterableEnvelope { * Ctor. * @param values Float values */ - @SuppressWarnings("PMD.AvoidUsingShortType") public IterableOfFloats(final float... values) { super(() -> () -> new UncheckedScalar<>(() -> new IteratorOfFloats(values)).value()