Skip to content

Commit c20d4e4

Browse files
committed
Fix spotless/ktlint violations
1 parent 44da83f commit c20d4e4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/main/java/com/amazon/ion/bytecode/bin11/opcodes/OpcodeHandlerTable.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ internal fun interface OpcodeToBytecodeHandler {
3434
internal object OpcodeHandlerTable {
3535
private val table = Array<OpcodeToBytecodeHandler>(256) { opcode ->
3636
when (opcode) {
37-
0x8e -> NullOpcodeHandler
38-
0x8f -> TypedNullOpcodeHandler
39-
0x6e, 0x6f -> BooleanOpcodeHandler
40-
else -> OpcodeToBytecodeHandler { _, _, _, _ ->
37+
0x8e -> NullOpcodeHandler
38+
0x8f -> TypedNullOpcodeHandler
39+
0x6e, 0x6f -> BooleanOpcodeHandler
40+
else -> OpcodeToBytecodeHandler { _, _, _, _ ->
4141
TODO("Opcode $opcode not yet implemented")
4242
}
4343
}

‎src/test/java/com/amazon/ion/bytecode/bin11/opcodes/TypedNullOpcodeHandlerTest.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
package com.amazon.ion.bytecode.bin11.opcodes
44

55
import com.amazon.ion.TextToBinaryUtils.hexStringToByteArray
6+
import com.amazon.ion.bytecode.GeneratorTestUtil.assertEqualBytecode
67
import com.amazon.ion.bytecode.ir.Instructions
78
import com.amazon.ion.bytecode.util.BytecodeBuffer
8-
import com.amazon.ion.bytecode.GeneratorTestUtil.assertEqualBytecode
99
import com.amazon.ion.bytecode.util.unsignedToInt
1010
import org.junit.jupiter.api.Assertions.assertEquals
1111
import org.junit.jupiter.params.ParameterizedTest

0 commit comments

Comments
 (0)