Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove unnecessary casts
[controller.git]
/
opendaylight
/
md-sal
/
sal-clustering-commons
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
protobuff
/
messages
/
cohort3pc
/
ThreePhaseCommitCohortMessagesTest.java
diff --git
a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/cohort3pc/ThreePhaseCommitCohortMessagesTest.java
b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/cohort3pc/ThreePhaseCommitCohortMessagesTest.java
index a01ccb88c73b649c27e70fdcad470787910fc1f3..6c988b9ce7c655bf55913c761dbfec176b537098 100644
(file)
--- a/
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/cohort3pc/ThreePhaseCommitCohortMessagesTest.java
+++ b/
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/protobuff/messages/cohort3pc/ThreePhaseCommitCohortMessagesTest.java
@@
-39,7
+39,7
@@
public class ThreePhaseCommitCohortMessagesTest extends AbstractMessagesTest {
ThreePhaseCommitCohortMessages.CanCommitTransactionReply.newBuilder();
builder.setCanCommit(true);
- writeToFile(
(com.google.protobuf.GeneratedMessage.Builder<?>)
builder);
+ writeToFile(builder);
// Here we will read from the just serialized data