Skip to content

Remove protocol 1 and 2 #765

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

Merged
merged 1 commit into from
Oct 2, 2020
Merged

Conversation

bigmontz
Copy link
Contributor

The reference this protocols are not needed since it's not used by the driver anymore.

During the remotion of these protocol version, the tests were refactoried to be specific per version instead of
assume the re-use done on the protocols implementation.

Copy link
Contributor

@gjmwoods gjmwoods left a comment

Choose a reason for hiding this comment

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

Awesome stuff! Just double-check the check styles setup before merging.

import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.*;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you double-check the neo4j checkstyles is being applied? Pretty sure its doesn't use *. (Personally not fussed either way just makes reviews easier)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is, interesting it is not being applied correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've reseted the commit, and then applied the reformatting on all the modified files.

*/
class MessageFormatV42Test
{
private static final MessageFormat format = BoltProtocolV4.INSTANCE.createMessageFormat();
Copy link
Contributor

Choose a reason for hiding this comment

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

BoltProtocolV42?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I will fix it.

The reference this protocols are not needed since it's not used by the driver anymore.

During the remotion of these protocol version, the tests were refactoried to be specific per version instead of
assume the re-use done on the protocols implementation.
@bigmontz bigmontz force-pushed the remove-protocol-1-and-2 branch from 525590f to 7f82e7b Compare September 30, 2020 15:40
@bigmontz bigmontz merged commit b20a89b into neo4j:4.2 Oct 2, 2020
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.

2 participants