Skip to content

LLREST: Wrap at 140 columns #34489

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 3 commits into from
Oct 17, 2018
Merged

LLREST: Wrap at 140 columns #34489

merged 3 commits into from
Oct 17, 2018

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Oct 15, 2018

Wraps a single line in a test to fit on 140 characters, removing the
only checkstyle suppression for the clients directory.

Wraps a single line in a test to fit on 140 characters, removing the
only checkstyle suppression for the clients directory.
@nik9000 nik9000 added :Clients/Java Low Level REST Client Minimal dependencies Java Client for Elasticsearch v7.0.0 >refactoring v6.5.0 labels Oct 15, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

I left a question.

@@ -106,7 +106,8 @@ public void testCanConfigureHeapBufferLimitFromOutsidePackage() throws ClassNotF
IllegalAccessException, InvocationTargetException, InstantiationException {
int bufferLimit = randomIntBetween(1, Integer.MAX_VALUE);
//we use reflection to make sure that the class can be instantiated from the outside, and the constructor is public
Constructor<?> constructor = HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory.class.getConstructor(Integer.TYPE);
Constructor<?> constructor = HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory.class
.getConstructor(Integer.TYPE);
Copy link
Member

Choose a reason for hiding this comment

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

Does it fit if you wrap after the equals?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure! I'll switch it.

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

@nik9000
Copy link
Member Author

nik9000 commented Oct 16, 2018

@elasticmachine, retest this please

@nik9000 nik9000 merged commit 2cccd4c into elastic:master Oct 17, 2018
nik9000 added a commit that referenced this pull request Oct 17, 2018
Wraps a single line in a test to fit on 140 characters, removing the
only checkstyle suppression for the clients directory.
@nik9000
Copy link
Member Author

nik9000 commented Oct 17, 2018

Thanks for reviewing @jasontedor!

kcm pushed a commit that referenced this pull request Oct 30, 2018
Wraps a single line in a test to fit on 140 characters, removing the
only checkstyle suppression for the clients directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants