mirror of
https://github.com/nasa/trick.git
synced 2025-03-19 18:45:55 +00:00
Fix check of whether one job executes within the bounds of another.
This commit is contained in:
parent
7595728216
commit
65d1355c26
@ -47,8 +47,8 @@ class JobExecutionEvent {
|
||||
* 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user