classes that should be static

This commit is contained in:
Xavier Léauté 2014-09-15 12:16:56 -07:00
parent e57e2d97ba
commit 137ad50bf1
4 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ public class AppendTask extends MergeTaskBase
return "append";
}
private class SegmentToMergeHolder
private static class SegmentToMergeHolder
{
private final DataSegment segment;
private final Interval interval;

View File

@ -236,7 +236,7 @@ public class GroupByQueryEngine
}
}
private class PositionMaintainer
private static class PositionMaintainer
{
private final int[] increments;
private final int increment;
@ -284,7 +284,7 @@ public class GroupByQueryEngine
}
}
private class RowIterator implements CloseableIterator<Row>
private static class RowIterator implements CloseableIterator<Row>
{
private final GroupByQuery query;
private final Cursor cursor;

View File

@ -384,7 +384,7 @@ public class LoadQueuePeon
}
}
private class SegmentHolder
private static class SegmentHolder
{
private final DataSegment segment;
private final DataSegmentChangeRequest changeRequest;
@ -457,4 +457,4 @@ public class LoadQueuePeon
return changeRequest.toString();
}
}
}
}

View File

@ -125,7 +125,7 @@ public class EmittingRequestLogger implements RequestLogger
}
}
private class RequestLogEventBuilder implements ServiceEventBuilder
private static class RequestLogEventBuilder implements ServiceEventBuilder
{
private final String feed;
private final RequestLogLine requestLogLine;