Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi R. Viggiano committed Dec 9, 2013
1 parent c6253b6 commit 45d2e6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions owner/src/main/java/org/aeonbits/owner/util/Collections.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ private Collections() {}

private static class EntryMap<K, V> extends AbstractMap<K, V> implements Serializable {
private static final long serialVersionUID = -789853606407653214L;
private final Set<Entry<K, V>> entrySet;
private final Set<Entry<K, V>> entries;

private EntryMap(Entry<K, V>... entry) {
entrySet = set(entry);
private EntryMap(Entry<K, V>... entries) {
this.entries = set(entries);
}

private EntryMap(K key, V value) {
Expand All @@ -57,7 +57,7 @@ private EntryMap(K key, V value) {

@Override
public Set<Entry<K, V>> entrySet() {
return entrySet;
return entries;
}
}

Expand Down

0 comments on commit 45d2e6e

Please sign in to comment.