HBASE-14268 Improve KeyLocker; ADDENDUM: FIX JAVADOC WARNING

This commit is contained in:
stack 2015-10-14 09:26:59 -07:00
parent f24fb713c8
commit 4588620a04
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class KeyLocker<K> {
* Acquire locks for a set of keys. The keys will be * Acquire locks for a set of keys. The keys will be
* sorted internally to avoid possible deadlock. * sorted internally to avoid possible deadlock.
* *
* @throw ClassCastException if the given {@code keys} * @throws ClassCastException if the given {@code keys}
* contains elements that are not mutually comparable * contains elements that are not mutually comparable
*/ */
public Map<K, Lock> acquireLocks(Set<? extends K> keys) { public Map<K, Lock> acquireLocks(Set<? extends K> keys) {