Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG-8056: make doCommit/finishCommit package-private
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
identifiers
/
ShardManagerIdentifier.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/identifiers/ShardManagerIdentifier.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/identifiers/ShardManagerIdentifier.java
index 65bf010b0adcb7e637110691584c0e263064f668..98dbba3ca4873a828608c52da52da68ee6ede568 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/identifiers/ShardManagerIdentifier.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/identifiers/ShardManagerIdentifier.java
@@
-16,15
+16,15
@@
public class ShardManagerIdentifier {
}
@Override
}
@Override
- public boolean equals(Object o) {
- if (this == o) {
+ public boolean equals(Object o
bj
) {
+ if (this == o
bj
) {
return true;
}
return true;
}
- if (o
== null || getClass() != o
.getClass()) {
+ if (o
bj == null || getClass() != obj
.getClass()) {
return false;
}
return false;
}
- ShardManagerIdentifier that = (ShardManagerIdentifier) o;
+ ShardManagerIdentifier that = (ShardManagerIdentifier) o
bj
;
if (!type.equals(that.type)) {
return false;
if (!type.equals(that.type)) {
return false;
@@
-44,19
+44,19
@@
public class ShardManagerIdentifier {
return builder.toString();
}
return builder.toString();
}
- public static Builder builder(){
+ public static Builder builder()
{
return new Builder();
}
public static class Builder {
private String type;
return new Builder();
}
public static class Builder {
private String type;
- public Builder type(String
type)
{
- this.type =
t
ype;
+ public Builder type(String
newType)
{
+ this.type =
newT
ype;
return this;
}
return this;
}
- public ShardManagerIdentifier build(){
+ public ShardManagerIdentifier build()
{
return new ShardManagerIdentifier(this.type);
}
return new ShardManagerIdentifier(this.type);
}