Skip to content

Commit

Permalink
Changed parameters name to avoid checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciofx committed Jun 26, 2017
1 parent 9a7c524 commit 427bcda
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/java/org/cactoos/list/MapEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ public final class MapEntry<K, V> implements Map.Entry<K, V> {
/**
* Ctor.
* @param key The key of the entry's map.
* @param value The value associated to the key of the entry's map.
* @param val The value associated to the key of the entry's map.
*/
public MapEntry(final K key, final V value) {
public MapEntry(final K key, final V val) {
this.key = key;
this.value = value;
this.value = val;
}

@Override
Expand All @@ -68,8 +68,7 @@ public V getValue() {
}

@Override
// @checkstyle HiddenFieldCheck (1 line)
public V setValue(final V value) {
public V setValue(final V val) {
throw new UnsupportedOperationException(
"#setValue() is not supported"
);
Expand Down

0 comments on commit 427bcda

Please sign in to comment.