@@ -19,8 +19,8 @@ public class PubSubMessage implements Serializable {
19
19
/**
20
20
* Constructor for a message having only content.
21
21
*
22
- * @param id is the ID associated with the message.
23
- * @param content is the content of the message.
22
+ * @param id The ID associated with the message.
23
+ * @param content The content of the message.
24
24
*/
25
25
public PubSubMessage (String id , String content ) {
26
26
this (id , content , -1 , new Metadata ());
@@ -29,9 +29,9 @@ public PubSubMessage(String id, String content) {
29
29
/**
30
30
* Constructor for a message having content and a sequence number.
31
31
*
32
- * @param id is the ID associated with the message.
33
- * @param content is the content of the message.
34
- * @param sequence is the sequence number of the message.
32
+ * @param id The ID associated with the message.
33
+ * @param content The content of the message.
34
+ * @param sequence The sequence number of the message.
35
35
*/
36
36
public PubSubMessage (String id , String content , int sequence ) {
37
37
this (id , content , sequence , new Metadata ());
@@ -40,9 +40,9 @@ public PubSubMessage(String id, String content, int sequence) {
40
40
/**
41
41
* Constructor for a PubSubMessage having content and Metadata.
42
42
*
43
- * @param id is the ID associated with the message.
44
- * @param content is the content of the message.
45
- * @param metadata is the {@link Metadata} associated with the message.
43
+ * @param id The ID associated with the message.
44
+ * @param content The content of the message.
45
+ * @param metadata The {@link Metadata} associated with the message.
46
46
*/
47
47
public PubSubMessage (String id , String content , Metadata metadata ) {
48
48
this (id , content , -1 , metadata );
@@ -51,10 +51,10 @@ public PubSubMessage(String id, String content, Metadata metadata) {
51
51
/**
52
52
* Constructor for a message having content, a {@link Metadata.Signal} and a sequence number.
53
53
*
54
- * @param id is the ID associated with the message.
55
- * @param content is the content of the message.
56
- * @param sequence is the sequence number of the message.
57
- * @param signal is the Metadata.Signal of the message.
54
+ * @param id The ID associated with the message.
55
+ * @param content The content of the message.
56
+ * @param sequence The sequence number of the message.
57
+ * @param signal The Metadata.Signal of the message.
58
58
*/
59
59
public PubSubMessage (String id , String content , int sequence , Signal signal ) {
60
60
this (id , content , sequence , new Metadata (signal , null ));
@@ -63,10 +63,10 @@ public PubSubMessage(String id, String content, int sequence, Signal signal) {
63
63
/**
64
64
* Constructor for a PubSubMessage having content, Metadata and a sequence number.
65
65
*
66
- * @param id is the ID associated with the message.
67
- * @param content is the content of the message.
68
- * @param sequence is the sequence number associated with the message.
69
- * @param metadata is the {@link Metadata} associated with the message.
66
+ * @param id The ID associated with the message.
67
+ * @param content The content of the message.
68
+ * @param sequence The sequence number associated with the message.
69
+ * @param metadata The {@link Metadata} associated with the message.
70
70
*/
71
71
public PubSubMessage (String id , String content , int sequence , Metadata metadata ) {
72
72
this .id = id ;
0 commit comments