summaryrefslogtreecommitdiff
path: root/libs/samba/src/main/java/org
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-11-05 22:49:58 +0100
committerJoel Klinghed <the_jk@spawned.biz>2024-11-05 23:32:17 +0100
commit30c48c66b8fdc523b4fa3bf9649a4fb45dde0e67 (patch)
treebfa8c85be5a29275596208ff8b6bc661dfdbf948 /libs/samba/src/main/java/org
parent57936035e7b3f415a726ae5de5bc834d334f1624 (diff)
Style cleanup
Remove unused parameter names, extra colons, code that is never executed and an opinionated detekt check.
Diffstat (limited to 'libs/samba/src/main/java/org')
-rw-r--r--libs/samba/src/main/java/org/the_jk/cleversync/io/samba/NativeSamba.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/samba/src/main/java/org/the_jk/cleversync/io/samba/NativeSamba.kt b/libs/samba/src/main/java/org/the_jk/cleversync/io/samba/NativeSamba.kt
index 590fab8..c0f18a4 100644
--- a/libs/samba/src/main/java/org/the_jk/cleversync/io/samba/NativeSamba.kt
+++ b/libs/samba/src/main/java/org/the_jk/cleversync/io/samba/NativeSamba.kt
@@ -112,7 +112,7 @@ internal object NativeSamba {
return nativeContextUnlink(ptr, path)
}
- override fun openFile(path: String, mode: NativeSamba.OpenMode): File? {
+ override fun openFile(path: String, mode: OpenMode): File? {
val file = nativeContextOpenFile(ptr, path, mode.value)
return if (file != 0L) NativeFile(path, file) else null
}