Skip to content

Commit 50045b7

Browse files
austnwilpopematt
andauthored
Apply suggestion from @popematt
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
1 parent 6f571dc commit 50045b7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/java/com/amazon/ion/bytecode/bin11/ByteArrayBytecodeGenerator11.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ internal class ByteArrayBytecodeGenerator11(
8080
return ByteSlice(source, position, position + length)
8181
}
8282

83-
override fun ionMinorVersion(): Int {
84-
return 1
85-
}
83+
override fun ionMinorVersion(): Int = 1
8684

8785
override fun getGeneratorForMinorVersion(minorVersion: Int): BytecodeGenerator {
8886
return when (minorVersion) {

0 commit comments

Comments
 (0)