X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2FElectionTerm.java;h=61aafef51354e88ab678dcfeb4f43970e308e636;hp=264f7a5d634dfae527dbe26860012e8356dbf2da;hb=HEAD;hpb=a81d98f692b80c45bce3fe6a87e731abfb012a9f diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ElectionTerm.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ElectionTerm.java index 264f7a5d63..61aafef513 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ElectionTerm.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ElectionTerm.java @@ -5,10 +5,9 @@ * 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.raft; -import javax.annotation.Nullable; +import org.eclipse.jdt.annotation.Nullable; /** * ElectionTerm contains information about a RaftActors election term. @@ -33,8 +32,7 @@ public interface ElectionTerm { * * @return candidate id that received the vote or null if no candidate was voted for. */ - @Nullable - String getVotedFor(); + @Nullable String getVotedFor(); /** * This method updates the in-memory election term state. This method should be called when recovering election