Skip to content

Commit

Permalink
#1649 more checkstyle suppressions removed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 12, 2022
1 parent 82a30a3 commit 45011f2
Show file tree
Hide file tree
Showing 110 changed files with 0 additions and 121 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/io/InputOf.java
Expand Up @@ -46,7 +46,6 @@
* <p>There is no thread-safety guarantee.
*
* @since 0.11.8
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class InputOf implements Input {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/io/TempFolder.java
Expand Up @@ -50,7 +50,6 @@
* The physical folder is deleted from the filesystem when the temp folder is
* closed.
* @since 1.0
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class TempFolder implements Scalar<Path>, Closeable {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/iterable/IterableOf.java
Expand Up @@ -43,7 +43,6 @@
*
* @param <X> Type of item
* @since 0.12
* @checkstyle ClassDataAbstractionCouplingCheck (550 lines)
*/
public final class IterableOf<X> implements Iterable<X> {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/list/Immutable.java
Expand Up @@ -35,7 +35,6 @@
*
* @param <T> Element type
* @since 1.16
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings(
{
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/map/MapEnvelope.java
Expand Up @@ -40,7 +40,6 @@
* @param <Y> Type of value
* @since 0.24
* @checkstyle AbstractClassNameCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings(
{
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/scalar/PropertiesOf.java
Expand Up @@ -43,7 +43,6 @@
* <p>There is no thread-safety guarantee.
*
* @since 0.12
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class PropertiesOf implements Scalar<Properties> {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/scalar/ScalarWithFallback.java
Expand Up @@ -42,7 +42,6 @@
* @param <T> Type of result
* @see FuncWithFallback
* @since 0.31
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class ScalarWithFallback<T> implements Scalar<T> {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/text/Abbreviated.java
Expand Up @@ -34,7 +34,6 @@
* <p>There is no thread-safety guarantee.
*
* @since 0.29
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class Abbreviated extends TextEnvelope {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/text/Capitalized.java
Expand Up @@ -33,7 +33,6 @@
* no other characters are changed.
*
* @since 0.46
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class Capitalized extends TextEnvelope {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/text/TextOf.java
Expand Up @@ -48,7 +48,6 @@
* <p>There is no thread-safety guarantee.
*
* @since 0.12
* @checkstyle ClassDataAbstractionCouplingCheck (1000 lines)
* @checkstyle ClassFanOutComplexityCheck (1000 lines)
*/
public final class TextOf extends TextEnvelope {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/bytes/BytesOfTest.java
Expand Up @@ -54,7 +54,6 @@
*
* @since 0.12
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class BytesOfTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/bytes/HexOfTest.java
Expand Up @@ -37,7 +37,6 @@
*
* @since 0.29
* @checkstyle JavadocMethodCheck (500 line)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class HexOfTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/bytes/InputAsBytesTest.java
Expand Up @@ -42,7 +42,6 @@
*
* @since 0.1
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("unchecked")
final class InputAsBytesTest {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/bytes/IoCheckedBytesTest.java
Expand Up @@ -37,7 +37,6 @@
*
* @since 0.52
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class IoCheckedBytesTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/bytes/ReaderAsBytesTest.java
Expand Up @@ -37,7 +37,6 @@
*
* @since 0.12
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class ReaderAsBytesTest {
/**
Expand Down
3 changes: 0 additions & 3 deletions src/test/java/org/cactoos/bytes/Sha256DigestOfTest.java
Expand Up @@ -49,7 +49,6 @@ void checksumOfEmptyString() {
)
),
new HasString(
// @checkstyle LineLengthCheck (1 lines)
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
)
).affirm();
Expand All @@ -65,7 +64,6 @@ void checksumOfString() {
)
),
new HasString(
// @checkstyle LineLengthCheck (1 lines)
"7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069"
)
).affirm();
Expand All @@ -87,7 +85,6 @@ void checksumFromFile() throws Exception {
)
),
new HasString(
// @checkstyle LineLengthCheck (1 lines)
"c94451bd1476a3728669de11e22c645906d806e63a95c5797de1f3e84f126a3e"
)
).affirm();
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/bytes/UncheckedBytesTest.java
Expand Up @@ -37,7 +37,6 @@
*
* @since 0.3
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class UncheckedBytesTest {

Expand Down
Expand Up @@ -40,7 +40,6 @@
* @param <E> Type of source item
* @since 0.23
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class BehavesAsCollection<E> extends
TypeSafeMatcher<Collection<E>> {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/collection/ImmutableTest.java
Expand Up @@ -34,7 +34,6 @@
* Test case for {@link Immutable}.
*
* @since 1.16
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.TooManyMethods")
public class ImmutableTest {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/collection/NoNullsTest.java
Expand Up @@ -46,7 +46,6 @@
*
* @since 0.35
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.TooManyMethods")
final class NoNullsTest {
Expand Down
6 changes: 0 additions & 6 deletions src/test/java/org/cactoos/experimental/ThreadsTest.java
Expand Up @@ -41,7 +41,6 @@
* Test case for {@link Threads}.
*
* @since 1.0.0
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
final class ThreadsTest {
Expand Down Expand Up @@ -149,7 +148,6 @@ void failsDueToException() {
)
).value(),
new Throws<>(
// @checkstyle LineLength (1 line)
"java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Something went wrong",
UncheckedIOException.class
)
Expand All @@ -166,7 +164,6 @@ void failsDueToException() {
@RepeatedTest(ThreadsTest.REPETITIONS)
void containsValuesWithInlineExecutorService() throws Exception {
new Assertion<>(
// @checkstyle LineLength (1 line)
"Must contain results from the callables when using inline executor service",
new Threads<String>(
3,
Expand Down Expand Up @@ -227,7 +224,6 @@ void containsResultsNoTimeout() throws Exception {
final ExecutorService extor = Executors.newFixedThreadPool(3);
try {
new Assertion<>(
// @checkstyle LineLength (1 line)
"Must contain results from the callables without using timeout",
new Threads<String>(
extor,
Expand Down Expand Up @@ -276,7 +272,6 @@ void failsDueToExceptionNoTimeout() {
)
).value(),
new Throws<>(
// @checkstyle LineLength (1 line)
"java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Something went wrong",
UncheckedIOException.class
)
Expand All @@ -293,7 +288,6 @@ void failsDueToExceptionNoTimeout() {
@RepeatedTest(ThreadsTest.REPETITIONS)
void containsValuesWithInlineExecutorServiceNoTimeout() {
new Assertion<>(
// @checkstyle LineLength (1 line)
"Must contain results from the callables when using inline executor without timeout",
new Threads<String>(
3,
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/func/AsyncTest.java
Expand Up @@ -37,7 +37,6 @@
* Test case for {@link Async}.
*
* @since 0.10
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class AsyncTest {
@Test
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/func/BiFuncOfTest.java
Expand Up @@ -36,7 +36,6 @@
* Test case for {@link BiFuncOf}.
*
* @since 0.20
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
final class BiFuncOfTest {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/func/FuncWithFallbackTest.java
Expand Up @@ -37,7 +37,6 @@
*
* @since 0.2
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("unchecked")
public final class FuncWithFallbackTest {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/AppendToTest.java
Expand Up @@ -39,7 +39,6 @@
* Test case for {@link AppendTo}.
*
* @since 1.0
* @checkstyle ClassDataAbstractionCouplingCheck (100 lines)
*/
public final class AppendToTest {

Expand Down
Expand Up @@ -35,7 +35,6 @@
/**
* Test case for {@link CloseShieldInputStream}.
* @since 1.0.0
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class CloseShieldInputStreamTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/CloseShieldInputTest.java
Expand Up @@ -33,7 +33,6 @@
/**
* Test case for {@link CloseShieldInput}.
* @since 1.0.0
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class CloseShieldInputTest {

Expand Down
Expand Up @@ -37,7 +37,6 @@
/**
* Test case for {@link CloseShieldOutputStream}.
* @since 1.0.0
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class CloseShieldOutputStreamTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/DeadInputTest.java
Expand Up @@ -32,7 +32,6 @@
*
* @since 0.16
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class DeadInputTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/DeadOutputTest.java
Expand Up @@ -33,7 +33,6 @@
*
* @since 0.16
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class DeadOutputTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/DirectoryTest.java
Expand Up @@ -37,7 +37,6 @@
* Test case for {@link Directory}.
* @since 0.12
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class DirectoryTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/GzipInputTest.java
Expand Up @@ -40,7 +40,6 @@
* Test case for {@link GzipInput}.
* @since 0.29
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class GzipInputTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/GzipOutputTest.java
Expand Up @@ -43,7 +43,6 @@
/**
* Test case for {@link GzipOutput}.
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
* @since 0.29
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/HeadInputStreamTest.java
Expand Up @@ -35,7 +35,6 @@
*
* @since 0.31
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
final class HeadInputStreamTest {
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/org/cactoos/io/InputOfTest.java
Expand Up @@ -55,7 +55,6 @@
* Test case for {@link InputOf}.
*
* @since 0.1
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
* @checkstyle ClassFanOutComplexityCheck (500 lines)
*/
@SuppressWarnings({"PMD.TooManyMethods", "PMD.ExcessiveImports", "unchecked"})
Expand Down Expand Up @@ -153,7 +152,6 @@ void readsStringUrl() throws IOException {
new BytesOf(
new InputOf(
new URL(
// @checkstyle LineLength (1 line)
"file:src/test/resources/org/cactoos/large-text.txt"
)
)
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/InputStreamOfTest.java
Expand Up @@ -45,7 +45,6 @@
*
* @since 0.13
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.TooManyMethods")
public final class InputStreamOfTest {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/JoinedTest.java
Expand Up @@ -32,7 +32,6 @@
/**
* Unit tests for {@link Joined}.
* @since 0.36
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
final class JoinedTest {
/**
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/LoggingInputTest.java
Expand Up @@ -39,7 +39,6 @@
*
* @since 0.29
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings(
{
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/LoggingOutputTest.java
Expand Up @@ -43,7 +43,6 @@
*
* @since 0.29
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings(
{
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/OutputStreamToTest.java
Expand Up @@ -37,7 +37,6 @@
*
* @since 0.13
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class OutputStreamToTest {
/**
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/OutputToTest.java
Expand Up @@ -38,7 +38,6 @@
*
* @since 0.15
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class OutputToTest {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/cactoos/io/ReaderOfTest.java
Expand Up @@ -38,7 +38,6 @@
* Test case for {@link ReaderOf}.
* @since 0.13
* @checkstyle JavadocMethodCheck (500 lines)
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
@SuppressWarnings("PMD.TooManyMethods")
public final class ReaderOfTest {
Expand Down

0 comments on commit 45011f2

Please sign in to comment.