Fix line-length violation in DiscoveryNodeRole

This commit fixes a line-length checkstyle violation in
DiscoveryNodeRole.java.
This commit is contained in:
Jason Tedor 2020-03-28 13:06:20 -04:00
parent 03cab96b2d
commit 60437b474d
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5

View File

@ -154,8 +154,8 @@ public abstract class DiscoveryNodeRole implements Comparable<DiscoveryNodeRole>
/**
* The built-in node roles.
*/
public static SortedSet<DiscoveryNodeRole> BUILT_IN_ROLES =
Collections.unmodifiableSortedSet(new TreeSet<>(Arrays.asList(DATA_ROLE, INGEST_ROLE, MASTER_ROLE, REMOTE_CLUSTER_CLIENT_ROLE)));
public static SortedSet<DiscoveryNodeRole> BUILT_IN_ROLES = Collections.unmodifiableSortedSet(
new TreeSet<>(Arrays.asList(DATA_ROLE, INGEST_ROLE, MASTER_ROLE, REMOTE_CLUSTER_CLIENT_ROLE)));
static SortedSet<DiscoveryNodeRole> LEGACY_ROLES =
Collections.unmodifiableSortedSet(new TreeSet<>(Arrays.asList(DATA_ROLE, INGEST_ROLE, MASTER_ROLE)));