Skip to content

Commit

Permalink
[hotfix] [javadocs] Fix typo in TaskSlot
Browse files Browse the repository at this point in the history
  • Loading branch information
libenchao authored and dawidwys committed Jan 31, 2019
1 parent 999a04d commit f0fa9bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* <li>Active - The slot is in active use by a job manager which is the leader of the allocating job.</li>
* </ul>
*
* <p>A task slot can only be allocated if it is in state free. An allocated task slot can transition
* <p>A task slot can only be allocated if it is in state free. An allocated task slot can transit
* to state active.
*
* <p>An active slot allows to add tasks from the respective job and with the correct allocation id.
Expand Down Expand Up @@ -261,7 +261,7 @@ public boolean markInactive() {
}

/**
* Mark the slot as free. A slot can only marked as free if it's empty.
* Mark the slot as free. A slot can only be marked as free if it's empty.
*
* @return True if the new state is free; otherwise false
*/
Expand Down

0 comments on commit f0fa9bc

Please sign in to comment.