Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use instanceof pattern
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
persisted
/
EmptyState.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/EmptyState.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/EmptyState.java
index 40c90fbe94dfff91f0e8468ffe03fc0d6390469c..aee90ace41e9907d2823ac842ebc96cea8e77b30 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/EmptyState.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/EmptyState.java
@@
-12,7
+12,7
@@
package org.opendaylight.controller.cluster.raft.persisted;
*
* @author Thomas Pantelis
*/
*
* @author Thomas Pantelis
*/
-public class EmptyState implements Snapshot.State {
+public
final
class EmptyState implements Snapshot.State {
private static final long serialVersionUID = 1L;
public static final EmptyState INSTANCE = new EmptyState();
private static final long serialVersionUID = 1L;
public static final EmptyState INSTANCE = new EmptyState();