-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Conversation
This commit removes line length violations in most of the classes under org.elasticsearch.cluster.
Pinging @elastic/es-core-infra |
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. |
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.
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 { |
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.
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 { |
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.
Could you indent this one extra time?
This PR is purely mechanical and the CI failure is transient (does not reproduce). I'm going to push this as is. |
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.
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
This commit removes line length violations in most of the classes under
org.elasticsearch.cluster.