Skip to content

Commit

Permalink
Fix check of whether one job executes within the bounds of another.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpenn committed Jan 29, 2025
1 parent 7595728 commit 65d1355
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public JobExecutionEvent(String id, boolean isTOF, boolean isEOF, double start,
* within another jobs stop/stop range.
*/
public boolean contains( JobExecutionEvent other ) {
if ((other.start >= this.start) &&
(other.start <= this.stop)) {
if ((other.start > this.start) &&
(other.start < this.stop)) {
return true;
}
return false;
Expand Down

0 comments on commit 65d1355

Please sign in to comment.