File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
server/src/main/java/org/elasticsearch/cluster/routing Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ public static SplitShardCountSummary fromInt(int payload) {
134
134
return new SplitShardCountSummary (payload );
135
135
}
136
136
137
+ private final int shardCountSummary ;
138
+
137
139
/**
138
140
* Return an integer representation of this summary
139
141
* Used for serialization.
@@ -142,15 +144,14 @@ public int asInt() {
142
144
return shardCountSummary ;
143
145
}
144
146
145
- private final int shardCountSummary ;
146
-
147
147
/**
148
148
* Returns whether this shard count summary is carrying an actual value or is UNSET
149
149
*/
150
150
public boolean isUnset () {
151
151
return this .shardCountSummary == UNSET .shardCountSummary ;
152
152
}
153
153
154
+ // visible for testing
154
155
SplitShardCountSummary (int shardCountSummary ) {
155
156
this .shardCountSummary = shardCountSummary ;
156
157
}
You can’t perform that action at this time.
0 commit comments