PMD: Avoid modifiers which are implied by the context.

This commit is contained in:
Gary Gregory 2018-07-07 15:36:41 -06:00
parent bce159a0c9
commit 333971caf3
3 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ import org.apache.commons.collections4.keyvalue.UnmodifiableMapEntry;
public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>>
implements OrderedBidiMap<K, V>, Serializable {
static enum DataElement {
enum DataElement {
KEY("key"), VALUE("value");
private final String description;

View File

@ -55,7 +55,7 @@ public class FixedOrderComparator<T> implements Comparator<T>, Serializable {
* Unknown object behavior enum.
* @since 4.0
*/
public static enum UnknownObjectBehavior {
public enum UnknownObjectBehavior {
BEFORE, AFTER, EXCEPTION;
}

View File

@ -86,7 +86,7 @@ public abstract class AbstractReferenceMap<K, V> extends AbstractHashedMap<K, V>
/**
* Reference type enum.
*/
public static enum ReferenceStrength {
public enum ReferenceStrength {
HARD(0), SOFT(1), WEAK(2);
/** value */