Skip to content

Commit

Permalink
remove duplicate logs
Browse files Browse the repository at this point in the history
Signed-off-by: Kaituo Li <[email protected]>
  • Loading branch information
kaituo committed Nov 14, 2023
1 parent 2e45e27 commit 3295680
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class FlintInstance(
val sessionId: String,
var state: String,
val lastUpdateTime: Long,
// We need jobStartTime to check if HMAC token is expired or not
val jobStartTime: Long = 0,
val excludedJobIds: Seq[String] = Seq.empty[String],
val error: Option[String] = None) {}
Expand Down Expand Up @@ -79,7 +78,6 @@ object FlintInstance {
val sessionId = scalaSource("sessionId").asInstanceOf[String]
val lastUpdateTime = scalaSource("lastUpdateTime").asInstanceOf[Long]
// Safely extract 'jobStartTime' considering potential null or absence
// Safely extract 'jobStartTime' considering potential null or absence
val jobStartTime: Long = scalaSource.get("jobStartTime") match {
case Some(value: java.lang.Long) =>
value.longValue() // Convert java.lang.Long to Scala Long
Expand Down

0 comments on commit 3295680

Please sign in to comment.