Remove unnecessary casts
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / test / java / org / opendaylight / controller / protobuff / messages / cohort3pc / ThreePhaseCommitCohortMessagesTest.java
index a01ccb88c73b649c27e70fdcad470787910fc1f3..6c988b9ce7c655bf55913c761dbfec176b537098 100644 (file)
@@ -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