Skip to content

Commit

Permalink
Fix timestamp prefix in UUIDv7
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd committed Oct 31, 2023
1 parent 89e10ea commit dcb2b08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions detekt-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
<ID>MagicNumber:UUID.kt$UUID$0x0fffL</ID>
<ID>MagicNumber:UUID.kt$UUID$0x1fff</ID>
<ID>MagicNumber:UUID.kt$UUID$0xf000L</ID>
<ID>MagicNumber:UUID.kt$UUID$0xffff00000000L</ID>
<ID>MagicNumber:UUID.kt$UUID$0xffff0000L</ID>
<ID>MagicNumber:UUID.kt$UUID$0xffffffffffffL</ID>
<ID>MagicNumber:UUID.kt$UUID$12</ID>
Expand All @@ -90,9 +89,9 @@
<ID>MagicNumber:UUID7.kt$0x3fffffffffffffffL</ID>
<ID>MagicNumber:UUID7.kt$0x7000L</ID>
<ID>MagicNumber:UUID7.kt$0x80L</ID>
<ID>MagicNumber:UUID7.kt$12</ID>
<ID>MagicNumber:UUID7.kt$16</ID>
<ID>MagicNumber:UUID7.kt$20</ID>
<ID>TooManyFunctions:SHA1.kt$SHA1</ID>
<ID>VariableNaming:UUID7.kt$val rand_a = (random.nextInt() shr 20).toLong()</ID>
<ID>VariableNaming:UUID7.kt$val rand_a = random.nextBits(12).toLong()</ID>
</CurrentIssues>
</SmellBaseline>

0 comments on commit dcb2b08

Please sign in to comment.