Skip to content

Commit

Permalink
fix suppressing
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlauvlwj committed Apr 27, 2024
1 parent bf83999 commit 34765fd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* limitations under the License.
*/

@file:Suppress("NoMultipleSpaces")

package org.ktorm.ksp.annotation

import sun.misc.Unsafe
Expand Down Expand Up @@ -147,7 +145,7 @@ public object Undefined {
return defineClass(name, bytes, null)
}

@Suppress("MagicNumber")
@Suppress("MagicNumber", "NoMultipleSpaces")
private fun generateByteCode(className: ByteArray, superClassName: ByteArray): ByteBuffer {
val buf = ByteBuffer.allocate(1024)
buf.putInt(0xCAFEBABE.toInt()) // magic
Expand Down

0 comments on commit 34765fd

Please sign in to comment.