Skip to content
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

Remove line length violations for o.e.cluster (mostly) #34923

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Oct 26, 2018

This commit removes line length violations in most of the classes under
org.elasticsearch.cluster.

This commit removes line length violations in most of the classes under
org.elasticsearch.cluster.
@rjernst rjernst added >non-issue :Core/Infra/Core Core issues without another label v7.0.0 v6.6.0 labels Oct 26, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@rjernst
Copy link
Member Author

rjernst commented Oct 26, 2018

This PR was getting unwieldy so I capped it around 1k lines changed. I will do the rest of o.e.cluster in a followup.

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

Left a minor thing but LGTM regardless.

@@ -28,7 +28,8 @@
/**
* A task that can update the cluster state.
*/
public abstract class ClusterStateUpdateTask implements ClusterStateTaskConfig, ClusterStateTaskExecutor<ClusterStateUpdateTask>, ClusterStateTaskListener {
public abstract class ClusterStateUpdateTask
implements ClusterStateTaskConfig, ClusterStateTaskExecutor<ClusterStateUpdateTask>, ClusterStateTaskListener {
Copy link
Member

Choose a reason for hiding this comment

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

Could you indent this one extra time?

@@ -41,7 +42,8 @@ public ClusterStateUpdateTask(Priority priority) {
}

@Override
public final ClusterTasksResult<ClusterStateUpdateTask> execute(ClusterState currentState, List<ClusterStateUpdateTask> tasks) throws Exception {
public final ClusterTasksResult<ClusterStateUpdateTask> execute(ClusterState currentState, List<ClusterStateUpdateTask> tasks)
throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

Could you indent this one extra time?

@rjernst
Copy link
Member Author

rjernst commented Oct 26, 2018

This PR is purely mechanical and the CI failure is transient (does not reproduce). I'm going to push this as is.

@rjernst rjernst merged commit f5200e3 into elastic:master Oct 26, 2018
@rjernst rjernst deleted the cluster_linelength branch October 26, 2018 20:37
rjernst added a commit that referenced this pull request Oct 26, 2018
This commit removes line length violations in most of the classes under
org.elasticsearch.cluster.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 26, 2018
kcm pushed a commit that referenced this pull request Oct 30, 2018
This commit removes line length violations in most of the classes under
org.elasticsearch.cluster.
tomcallahan added a commit to tomcallahan/elasticsearch that referenced this pull request Nov 1, 2018
This inserts newlines in order to reduce line lengths in the
o.e.action.admin.cluster package to 140 characters or less.  This
also remves the checkstyle suppressions for affected files.

Relates elastic#34884, elastic#34923
tomcallahan added a commit that referenced this pull request Nov 16, 2018
…35156)

This inserts newlines in order to reduce line lengths in the
o.e.action.admin.cluster package to 140 characters or less.  This
also remves the checkstyle suppressions for affected files.

Relates #34884, #34923
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