Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG-2573: create DOMRpcRouter"
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
example
/
ExampleActor.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java
index 9aff86ba2b09572a44200ac2095331d03c687a66..c5ae4c41b2f4822a04ca9da300171ae2e618d52e 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java
@@
-125,7
+125,7
@@
public class ExampleActor extends RaftActor {
try {
bs = fromObject(state);
} catch (Exception e) {
try {
bs = fromObject(state);
} catch (Exception e) {
- LOG.error(
e, "Exception in creating snapshot"
);
+ LOG.error(
"Exception in creating snapshot", e
);
}
getSelf().tell(new CaptureSnapshotReply(bs.toByteArray()), null);
}
}
getSelf().tell(new CaptureSnapshotReply(bs.toByteArray()), null);
}
@@
-135,7
+135,7
@@
public class ExampleActor extends RaftActor {
try {
state.putAll((HashMap) toObject(snapshot));
} catch (Exception e) {
try {
state.putAll((HashMap) toObject(snapshot));
} catch (Exception e) {
- LOG.error(
e, "Exception in applying snapshot"
);
+ LOG.error(
"Exception in applying snapshot", e
);
}
if(LOG.isDebugEnabled()) {
LOG.debug("Snapshot applied to state : {}", ((HashMap) state).size());
}
if(LOG.isDebugEnabled()) {
LOG.debug("Snapshot applied to state : {}", ((HashMap) state).size());