Skip to content

Commit

Permalink
Removing invalid supressions
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Oct 6, 2023
1 parent 7e52e3c commit 2654f46
Show file tree
Hide file tree
Showing 31 changed files with 4 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
*.project
.DS_Store
.asciidoctorconfig.adoc
/bin/
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public static <E extends FormatterSupport> void validateTemplate(final String te
new Validator.ValidatorBuilder<E>().withLexer(lexer).validate(template);
}

@SuppressWarnings("javadoc")
@NoArgsConstructor
public static final class ValidatorBuilder<E extends FormatterSupport> {

Expand Down
1 change: 0 additions & 1 deletion src/test/java/de/cuioss/tools/concurrent/FakeTicker.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import de.cuioss.tools.base.Preconditions;

@SuppressWarnings("javadoc")
public class FakeTicker extends Ticker {

private static final long serialVersionUID = 1047851947159622996L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import lombok.Data;

@SuppressWarnings("javadoc")
@Data
public class AddressDto implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import de.cuioss.tools.support.TypedGenerator;

@SuppressWarnings("javadoc")
public class PersonAddressGenerator implements TypedGenerator<PersonAddress> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import lombok.Data;

@Data
@SuppressWarnings("javadoc")
public class TransferAddressDto implements Serializable {

private static final long serialVersionUID = 5329606920285197130L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@SuppressWarnings("javadoc")
@RequiredArgsConstructor
public class NoPublicZeroArgConstructor implements FormatterSupport {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

import de.cuioss.tools.formatting.template.FormatterSupport;

@SuppressWarnings("javadoc")
public class WrongFormatterSupportImplWithEmptyAttributeList implements FormatterSupport {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import de.cuioss.tools.formatting.template.FormatterSupport;

@SuppressWarnings("javadoc")
public class WrongFormatterSupportImplWithMissingAttributeList implements FormatterSupport {

@Override
Expand Down
1 change: 0 additions & 1 deletion src/test/java/de/cuioss/tools/io/ClassPathLoaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

import org.junit.jupiter.api.Test;

@SuppressWarnings("resource")
class ClassPathLoaderTest {

private static final String EXISTING_FILE_PATH = "/META-INF/someTestFile.txt";
Expand Down
1 change: 0 additions & 1 deletion src/test/java/de/cuioss/tools/io/FileSystemLoaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

import org.junit.jupiter.api.Test;

@SuppressWarnings("resource")
class FileSystemLoaderTest {

private static final String EXISTING_FILE = "pom.xml";
Expand Down
1 change: 0 additions & 1 deletion src/test/java/de/cuioss/tools/io/IOStreamsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ void testContentEquals_Reader_Reader() throws Exception {
}

@Test
@SuppressWarnings("resource")
void shouldProvideInputStream() throws IOException {
assertTrue(contentEquals(new ByteArrayInputStream("".getBytes(StandardCharsets.UTF_8)), toInputStream(null)));
assertFalse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void close() throws IOException {
super.close();
}

@SuppressWarnings("javadoc")
public void off() {
yellForFlush = false;
yellForClose = false;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/de/cuioss/tools/logging/TestLogHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.logging.Level;
import java.util.logging.LogRecord;

@SuppressWarnings("javadoc")
public class TestLogHandler extends Handler {

List<LogRecord> records = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*
*/
@UtilityClass
@SuppressWarnings("javadoc")
public class KeystoreInformation {

public static final String PASSWORD = "secret";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package de.cuioss.tools.property.support;

@SuppressWarnings({ "javadoc", "unused" })
@SuppressWarnings({ "unused" })
public class BeanForTestingTypeResolving {

private Integer fieldOnly;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package de.cuioss.tools.property.support;

@SuppressWarnings("javadoc")
public class BeanWithBuilderStyleAccessor {

@SuppressWarnings("unused")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import lombok.Getter;

@SuppressWarnings("javadoc")
public class BeanWithMethodOverload {

@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import lombok.Getter;
import lombok.Setter;

@SuppressWarnings("javadoc")
public class BeanWithPrimitives {

@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import lombok.Getter;
import lombok.Setter;

@SuppressWarnings("javadoc")
public class BeanWithReadWriteProperties {

public static final String ATTRIBUTE_READ_WRITE = "readWriteProperty";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@

import java.lang.reflect.InvocationTargetException;

@SuppressWarnings("javadoc")
public class ExplodingBean {

private Throwable throwable = new IllegalArgumentException();

public void setProperty(@SuppressWarnings("unused") String property) throws Throwable {
public void setProperty(String property) throws Throwable {
throw throwable;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import lombok.NonNull;
import lombok.ToString;

@SuppressWarnings("javadoc")
@ToString(doNotUseGetters = true)
@EqualsAndHashCode(doNotUseGetters = true)
public class GenericTypeWithLowerBoundType<K extends Serializable, V extends Serializable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import lombok.NonNull;

@SuppressWarnings("javadoc")
public class StringTypedGenericType extends GenericTypeWithLowerBoundType<String, String> {

private static final long serialVersionUID = 7501705815919447469L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import jakarta.annotation.Resource;

@SuppressWarnings("javadoc")
@Resource
public class BaseAnnotatedClass {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import jakarta.annotation.Resource;

@SuppressWarnings("javadoc")
@Resource
@Deprecated
public class ChildAnnotatedClass extends BaseAnnotatedClass implements Function<String, String> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import lombok.Setter;

@SuppressWarnings("javadoc")
public class FieldNameClass extends MethodNameClass {

@Setter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import lombok.Getter;
import lombok.Setter;

@SuppressWarnings({ "javadoc", "unused" })
@SuppressWarnings({ "unused" })
public class MethodNameClass {

private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("javadoc")
public class NestedGenericSample extends ArrayList<List<String>> {

private static final long serialVersionUID = 4953296552239805855L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package de.cuioss.tools.reflect.support;

@SuppressWarnings("javadoc")
public class NotAnnotatedClass {

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import java.util.ArrayList;

@SuppressWarnings("javadoc")
public class StringTypedArrayList extends ArrayList<String> {

private static final long serialVersionUID = 2410415238663640805L;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/de/cuioss/tools/support/Generators.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* @author Oliver Wolff
*
*/
@SuppressWarnings("javadoc")
public class Generators {

/**
Expand Down

0 comments on commit 2654f46

Please sign in to comment.