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:
Gary D. Gregory 2013-11-19 00:35:11 +00:00
parent bd861c0d80
commit 584a10fda5
1 changed files with 1 additions and 2 deletions

View File

@ -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() {