Skip to content

Commit 34765fd

Browse files
fix suppressing
1 parent bf83999 commit 34765fd

File tree

1 file changed

+1
-3
lines changed
  • ktorm-ksp-annotations/src/main/kotlin/org/ktorm/ksp/annotation

1 file changed

+1
-3
lines changed

ktorm-ksp-annotations/src/main/kotlin/org/ktorm/ksp/annotation/Undefined.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
@file:Suppress("NoMultipleSpaces")
18-
1917
package org.ktorm.ksp.annotation
2018

2119
import sun.misc.Unsafe
@@ -147,7 +145,7 @@ public object Undefined {
147145
return defineClass(name, bytes, null)
148146
}
149147

150-
@Suppress("MagicNumber")
148+
@Suppress("MagicNumber", "NoMultipleSpaces")
151149
private fun generateByteCode(className: ByteArray, superClassName: ByteArray): ByteBuffer {
152150
val buf = ByteBuffer.allocate(1024)
153151
buf.putInt(0xCAFEBABE.toInt()) // magic

0 commit comments

Comments
 (0)