Skip to content

Commit

Permalink
[hotfix][runtime] Narrow down the access scope of DefaultExecutionSlo…
Browse files Browse the repository at this point in the history
…tAllocator
  • Loading branch information
zhuzhurk committed Jun 16, 2020
1 parent d75f186 commit a10f1a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
* Default {@link ExecutionSlotAllocator} which will use {@link SlotProvider} to allocate slots and
* keep the unfulfilled requests for further cancellation.
*/
public class DefaultExecutionSlotAllocator extends AbstractExecutionSlotAllocator {
class DefaultExecutionSlotAllocator extends AbstractExecutionSlotAllocator {

private static final Logger LOG = LoggerFactory.getLogger(DefaultExecutionSlotAllocator.class);

private final SlotProviderStrategy slotProviderStrategy;

public DefaultExecutionSlotAllocator(
DefaultExecutionSlotAllocator(
final SlotProviderStrategy slotProviderStrategy,
final PreferredLocationsRetriever preferredLocationsRetriever) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
/**
* Factory for {@link DefaultExecutionSlotAllocator}.
*/
public class DefaultExecutionSlotAllocatorFactory implements ExecutionSlotAllocatorFactory {
class DefaultExecutionSlotAllocatorFactory implements ExecutionSlotAllocatorFactory {

private final SlotProviderStrategy slotProvider;

public DefaultExecutionSlotAllocatorFactory(final SlotProviderStrategy slotProvider) {
DefaultExecutionSlotAllocatorFactory(final SlotProviderStrategy slotProvider) {
this.slotProvider = checkNotNull(slotProvider);
}

Expand Down

0 comments on commit a10f1a4

Please sign in to comment.