[COLLECTIONS-351] Fix SynchonizedBag after removal of SynchronizedSet.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-03-17 18:50:44 +00:00
parent c340a74c7e
commit 6cf9d485ab
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ import java.util.Set;
import org.apache.commons.collections.Bag;
import org.apache.commons.collections.collection.SynchronizedCollection;
import org.apache.commons.collections.set.SynchronizedSet;
/**
* Decorates another {@link Bag} to synchronize its behaviour
@ -113,7 +112,7 @@ public class SynchronizedBag<E> extends SynchronizedCollection<E> implements Bag
/**
* Synchronized Set for the Bag class.
*/
class SynchronizedBagSet extends SynchronizedSet<E> {
class SynchronizedBagSet extends SynchronizedCollection<E> implements Set<E> {
/** Serialization version */
private static final long serialVersionUID = 2990565892366827855L;