Removed unused constructor in MapBackedSet
This commit is contained in:
parent
7b8d483044
commit
5a63b91c49
@ -24,7 +24,6 @@ package org.jboss.netty.util;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.AbstractSet;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@ -50,15 +49,6 @@ public class MapBackedSet<E> extends AbstractSet<E> implements Serializable {
|
||||
this.map = map;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance which wraps the specified {@code map} and
|
||||
* adds all elements of the specified collection.
|
||||
*/
|
||||
public MapBackedSet(Map<E, Boolean> map, Collection<E> c) {
|
||||
this.map = map;
|
||||
addAll(c);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return map.size();
|
||||
|
Loading…
Reference in New Issue
Block a user