Skip to content

Commit

Permalink
Fix PMD UselessOverridingMethod in PropertiesFactory.EmptyProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed May 22, 2024
1 parent 37f6832 commit 77c2537
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
1 change: 1 addition & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<action type="update" dev="ggregory" due-to="Gary Gregory">Deprecate Predicate in favor of java.util.function.Predicate.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Deprecate Transformer in favor of java.util.function.Function.</action>
<action issue="COLLECTIONS-853" type="fix" dev="aherbert" due-to="Claude Warren, Alex Herbert, Gary Gregory">Change LayerManager to use List and added generics to LayerdedBloomFilter #481.</action>
<action type="update" dev="ggregory" due-to="PMD, Gary Gregory">Fix PMD UselessOverridingMethod in PropertiesFactory.EmptyProperties.</action>
<action type="update" dev="ggregory" due-to="PMD, Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in AbstractHashedMap.</action>
<action type="update" dev="ggregory" due-to="PMD, Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in AbstractLinkedMap.</action>
<action type="update" dev="ggregory" due-to="PMD, Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in CaseInsensitiveMap.</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
import java.util.Collection;
import java.util.Collections;
import java.util.Enumeration;
Expand Down Expand Up @@ -274,30 +273,6 @@ public synchronized int size() {
return 0;
}

@Override
public void store(final OutputStream out, final String comments) throws IOException {
// Implement as super
super.store(out, comments);
}

@Override
public void store(final Writer writer, final String comments) throws IOException {
// Implement as super
super.store(writer, comments);
}

@Override
public void storeToXML(final OutputStream os, final String comment) throws IOException {
// Implement as super
super.storeToXML(os, comment);
}

@Override
public void storeToXML(final OutputStream os, final String comment, final String encoding) throws IOException {
// Implement as super
super.storeToXML(os, comment, encoding);
}

@Override
public Set<String> stringPropertyNames() {
return Collections.emptySet();
Expand Down

0 comments on commit 77c2537

Please sign in to comment.