mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-17 01:26:45 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -5,11 +5,12 @@ package NamespaceA.NamespaceB
|
||||
@Suppress("unused")
|
||||
@ExperimentalUnsignedTypes
|
||||
class EnumInNestedNS private constructor() {
|
||||
companion object {
|
||||
const val A: Byte = 0
|
||||
const val B: Byte = 1
|
||||
const val C: Byte = 2
|
||||
val names : Array<String> = arrayOf("A", "B", "C")
|
||||
fun name(e: Int) : String = names[e]
|
||||
}
|
||||
companion object {
|
||||
const val A: Byte = 0
|
||||
const val B: Byte = 1
|
||||
const val C: Byte = 2
|
||||
val names: Array<String> = arrayOf("A", "B", "C")
|
||||
|
||||
fun name(e: Int): String = names[e]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user