remove unnecessary Exception declaration
Change-Id: If1c86ab88987fb4ef0db8beaa412c4dc030f5520
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -3,7 +3,6 @@ package org.onlab.util; | ... | @@ -3,7 +3,6 @@ package org.onlab.util; |
3 | import java.util.concurrent.ConcurrentHashMap; | 3 | import java.util.concurrent.ConcurrentHashMap; |
4 | import java.util.concurrent.ConcurrentMap; | 4 | import java.util.concurrent.ConcurrentMap; |
5 | 5 | ||
6 | -import org.apache.commons.lang3.concurrent.ConcurrentException; | ||
7 | import org.apache.commons.lang3.concurrent.ConcurrentInitializer; | 6 | import org.apache.commons.lang3.concurrent.ConcurrentInitializer; |
8 | 7 | ||
9 | /** | 8 | /** |
... | @@ -27,7 +26,7 @@ public final class NewConcurrentHashMap<K, V> | ... | @@ -27,7 +26,7 @@ public final class NewConcurrentHashMap<K, V> |
27 | } | 26 | } |
28 | 27 | ||
29 | @Override | 28 | @Override |
30 | - public ConcurrentMap<K, V> get() throws ConcurrentException { | 29 | + public ConcurrentMap<K, V> get() { |
31 | return new ConcurrentHashMap<>(); | 30 | return new ConcurrentHashMap<>(); |
32 | } | 31 | } |
33 | } | 32 | } | ... | ... |
-
Please register or login to post a comment