-
Notifications
You must be signed in to change notification settings - Fork 18
PubSubException can have a cause, PubSubConfig removed, Convenience m… #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ethod for sending id, content added to Publisher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments. Otherwise, looks good!
* | ||
* @param n The number of Subscribers requested. | ||
* @return The {@link List} of n Subscribers wired as required. | ||
* @return List of n Subscribers wired as required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Javadoc regression here
* Send a message with an ID and content. | ||
* | ||
* @param id The ID associated with the message. | ||
* @param content The content of the message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use {@link PubSubException}
in this and all other Javadocs in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wrong. You can't use this for throws. Thanks for the fix.
* | ||
* @param id The ID of the message to be marked as committed. | ||
* @param sequence The sequence number of the message to be committed. | ||
* @param id The ID of the message to be marked as committed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is extra indentation here and on the line below
} | ||
|
||
@Test(expectedExceptions = NullPointerException.class) | ||
public void testNoIdIllegalCreation() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Id -> ID?
PubSubException can have a cause, PubSubConfig removed, Convenience method for sending id, content added to Publisher.