Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Murerwa committed Oct 10, 2024
1 parent 980b34a commit 0eec178
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ class LoggingIdentifierController @Inject constructor(
val currentTimestamp = System.currentTimeMillis()
val randomNumber = Random().nextLong() and MAX_RANDOM_VALUE

return ((SIGNED_BIT shl (TIMESTAMP_BITS + RANDOM_BITS))
or (currentTimestamp shl RANDOM_BITS) or randomNumber).toULong()
return (
(SIGNED_BIT shl (TIMESTAMP_BITS + RANDOM_BITS))
or (currentTimestamp shl RANDOM_BITS) or randomNumber
).toULong()
}
}

0 comments on commit 0eec178

Please sign in to comment.