From abdbfe768b52fe46d14864c35008fcf6c8dc5902 Mon Sep 17 00:00:00 2001 From: javanna Date: Wed, 20 Aug 2014 21:12:10 +0200 Subject: [PATCH] Internal: adjusted internal requests visibility from public to package private (redo) was just reverted by mistake in the failed attempt of isolating the change and taking it out of #7319 --- .../admin/indices/segments/TransportIndicesSegmentsAction.java | 2 +- .../action/admin/indices/stats/TransportIndicesStatsAction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java b/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java index 4a183863fba..492ff58db46 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java @@ -134,7 +134,7 @@ public class TransportIndicesSegmentsAction extends TransportBroadcastOperationA return new ShardSegments(indexShard.routingEntry(), indexShard.engine().segments()); } - public static class IndexShardSegmentRequest extends BroadcastShardOperationRequest { + static class IndexShardSegmentRequest extends BroadcastShardOperationRequest { IndexShardSegmentRequest() { } diff --git a/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java b/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java index 7a141df2ea2..eacc122281e 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java @@ -200,7 +200,7 @@ public class TransportIndicesStatsAction extends TransportBroadcastOperationActi return new ShardStats(indexShard, flags); } - public static class IndexShardStatsRequest extends BroadcastShardOperationRequest { + static class IndexShardStatsRequest extends BroadcastShardOperationRequest { // TODO if there are many indices, the request might hold a large indices array..., we don't really need to serialize it IndicesStatsRequest request;