// For Externalizable
}
- AbstractMessageProxy(final @Nonnull C message) {
+ AbstractMessageProxy(@Nonnull final C message) {
this.target = message.getTarget();
this.sequence = message.getSequence();
}
return Verify.verifyNotNull(createMessage(target, sequence));
}
- protected abstract @Nonnull T readTarget(@Nonnull DataInput in) throws IOException;
- abstract @Nonnull C createMessage(@Nonnull T target, long sequence);
-}
\ No newline at end of file
+ @Nonnull
+ protected abstract T readTarget(@Nonnull DataInput in) throws IOException;
+
+ @Nonnull
+ abstract C createMessage(@Nonnull T msgTarget, long msgSequence);
+}