Skip to content

Commit

Permalink
[hotfix] Fix checkstyle violations in SlotReport and SlotStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Nov 15, 2018
1 parent efc3786 commit e745bf1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class SlotReport implements Serializable, Iterable<SlotStatus> {

private static final long serialVersionUID = -3150175198722481689L;

/** The slots status of the TaskManager */
/** The slots status of the TaskManager. */
private final Collection<SlotStatus> slotsStatus;

public SlotReport() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ public class SlotStatus implements Serializable {

private static final long serialVersionUID = 5099191707339664493L;

/** slotID to identify a slot */
/** SlotID to identify a slot. */
private final SlotID slotID;

/** the resource profile of the slot */
/** The resource profile of the slot. */
private final ResourceProfile resourceProfile;

/** if the slot is allocated, allocationId identify its allocation; else, allocationId is null */
/** If the slot is allocated, allocationId identify its allocation; else, allocationId is null. */
private final AllocationID allocationID;

/** if the slot is allocated, jobId identify which job this slot is allocated to; else, jobId is null */
/** If the slot is allocated, jobId identify which job this slot is allocated to; else, jobId is null. */
private final JobID jobID;

public SlotStatus(SlotID slotID, ResourceProfile resourceProfile) {
Expand All @@ -62,7 +62,7 @@ public SlotStatus(
}

/**
* Get the unique identification of this slot
* Get the unique identification of this slot.
*
* @return The slot id
*/
Expand All @@ -71,7 +71,7 @@ public SlotID getSlotID() {
}

/**
* Get the resource profile of this slot
* Get the resource profile of this slot.
*
* @return The resource profile
*/
Expand All @@ -80,7 +80,7 @@ public ResourceProfile getResourceProfile() {
}

/**
* Get the allocation id of this slot
* Get the allocation id of this slot.
*
* @return The allocation id if this slot is allocated, otherwise null
*/
Expand All @@ -89,7 +89,7 @@ public AllocationID getAllocationID() {
}

/**
* Get the job id of the slot allocated for
* Get the job id of the slot allocated for.
*
* @return The job id if this slot is allocated, otherwise null
*/
Expand Down

0 comments on commit e745bf1

Please sign in to comment.