* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.controller.cluster.sharding.messages;
import com.google.common.annotations.Beta;
-import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import java.io.Serializable;
import java.util.Collection;
private final Collection<DOMDataTreeIdentifier> subtrees;
public NotifyProducerRemoved(final Collection<DOMDataTreeIdentifier> subtrees) {
- this.subtrees = ImmutableList.copyOf(Preconditions.checkNotNull(subtrees));
+ this.subtrees = ImmutableList.copyOf(subtrees);
}
public Collection<DOMDataTreeIdentifier> getSubtrees() {