Skip to content

Conversation

ShriramKumar
Copy link
Contributor

PubSubException can have a cause, PubSubConfig removed, Convenience method for sending id, content added to Publisher.

…ethod for sending id, content added to Publisher
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 98.8% when pulling 3b8208c on ShriramKumar:pubsub-version-2 into e18e7eb on yahoo:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 98.95% when pulling cd50da0 on ShriramKumar:pubsub-version-2 into e18e7eb on yahoo:master.

Copy link
Member

@akshaisarma akshaisarma left a 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.
Copy link
Member

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.
Copy link
Member

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?

Copy link
Member

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.
Copy link
Member

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() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Id -> ID?

@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 98.95% when pulling a645fb0 on ShriramKumar:pubsub-version-2 into e18e7eb on yahoo:master.

@akshaisarma akshaisarma merged commit b578916 into bullet-db:master Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants