Fix getImplicitLockInterval check

This commit is contained in:
Gian Merlino 2013-06-06 18:22:41 -07:00
parent ee38ca5463
commit d69fb61a6e
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class IndexerCoordinatorResource
.put("id", input.getTask().getId())
.put("dataSource", input.getTask().getDataSource())
.put("interval",
input.getTask().getImplicitLockInterval().get() == null
!input.getTask().getImplicitLockInterval().isPresent()
? ""
: input.getTask().getImplicitLockInterval().get()
)