X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft-example%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fexample%2FTestDriver.java;h=74ded5f606f4dbbc182ed1697a01085810846339;hb=93e6f3bfc003d4ce2d968761dff963615a0b799d;hp=cd2e4a506ce5365bc45cc89f160695516846b4f2;hpb=9fb1df14f2dc885fee1dce821b753cc99af6e54f;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/TestDriver.java b/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/TestDriver.java index cd2e4a506c..74ded5f606 100644 --- a/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/TestDriver.java +++ b/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/TestDriver.java @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * 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.example; import akka.actor.ActorRef; @@ -126,7 +134,7 @@ public class TestDriver { } // create the listener using a separate actor system for each example actor - private void createClusterRoleChangeListener(List memberIds) { + private static void createClusterRoleChangeListener(List memberIds) { System.out.println("memberIds="+memberIds); for (String memberId : memberIds) { ActorRef listenerActor = listenerActorSystem.actorOf(