Skip to content

Commit

Permalink
Merge pull request #103 from lucidsoftware/remove-all-first
Browse files Browse the repository at this point in the history
use .next() instead of first() in another instance
  • Loading branch information
tmccombs authored Mar 2, 2023
2 parents b9e5a4f + 79416ec commit af6bfa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class JobHistoryModel(props: Properties) {
prepared.setString(1, triggerName)
prepared.setString(2, triggerGroup)
val rs = prepared.executeQuery()
if (rs.first()) {
if (rs.next()) {
Some(parseJob(rs))
} else {
None
Expand Down

0 comments on commit af6bfa4

Please sign in to comment.