Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd861c0d80
commit
584a10fda5
|
@ -782,9 +782,8 @@ abstract class AbstractPatriciaTrie<K, V> extends AbstractBitwiseTrie<K, V> {
|
|||
public K firstKey() {
|
||||
if (size() == 0) {
|
||||
throw new NoSuchElementException();
|
||||
} else {
|
||||
return firstEntry().getKey();
|
||||
}
|
||||
return firstEntry().getKey();
|
||||
}
|
||||
|
||||
public K lastKey() {
|
||||
|
|
Loading…
Reference in New Issue