Change the use of apache Pair instead of javafx one

2 jobs for job-state-dev in 1 minute and 11 seconds (queued for 9 seconds)