Reduce JSR305 proliferation
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / client / messages / OnDemandRaftState.java
index d9298f95686162691329b61d88aadbf007cf7337..7ded55b3ce91686d93f26d1dafe9f15c2585a1c3 100644 (file)
@@ -11,7 +11,7 @@ import com.google.common.collect.ImmutableMap;
 import java.util.Collections;
 import java.util.List;
 import java.util.Map;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * The response to a GetOnDemandRaftState message.
@@ -139,8 +139,7 @@ public class OnDemandRaftState {
             return (B) this;
         }
 
-        @Nonnull
-        protected abstract OnDemandRaftState state();
+        protected abstract @NonNull OnDemandRaftState state();
 
         public B lastLogIndex(long value) {
             state().lastLogIndex = value;