Skip to content

Commit 5940bf2

Browse files
committed
Fix spotlessKotlinCheck formatting for makeExecutorchException call
ktfmt requires each argument on its own line with a trailing comma when the call is split across lines. This was authored with assistance from Claude.
1 parent 4519036 commit 5940bf2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • extension/android/executorch_android/src/main/java/org/pytorch/executorch

extension/android/executorch_android/src/main/java/org/pytorch/executorch/Module.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ open class Module private constructor(moduleAbsolutePath: String, loadMode: Int,
9090
val errorCode = loadMethodNative(methodName)
9191
if (errorCode != 0) {
9292
throw ExecutorchRuntimeException.makeExecutorchException(
93-
errorCode, "Failed to load method: $methodName")
93+
errorCode,
94+
"Failed to load method: $methodName",
95+
)
9496
}
9597
} finally {
9698
mLock.unlock()

0 commit comments

Comments
 (0)