* 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.datastore.shardmanager;
import com.google.common.collect.ImmutableList;
import java.io.Serializable;
import java.util.Collections;
import java.util.List;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
+
/**
* Persisted data of the ShardManager.
private static final long serialVersionUID = 1L;
private final List<String> shardList;
- ShardManagerSnapshot(@Nonnull final List<String> shardList) {
+ ShardManagerSnapshot(final @NonNull List<String> shardList) {
this.shardList = ImmutableList.copyOf(shardList);
}
* org.opendaylight.controller.cluster.datastore.ShardManagerSnapshot is removed.
*/
@Deprecated
- public static ShardManagerSnapshot forShardList(@Nonnull final List<String> shardList) {
+ public static ShardManagerSnapshot forShardList(final @NonNull List<String> shardList) {
return new ShardManagerSnapshot(shardList);
}