We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107eedf commit d9d4b9fCopy full SHA for d9d4b9f
app/src/main/java/com/osfans/trime/data/opencc/dict/Dictionary.kt
@@ -49,7 +49,7 @@ abstract class Dictionary {
49
}
50
51
protected fun ensureTxt(dest: File) {
52
- if (dest.extension !in Type.Text.ext) {
+ if (dest.extension != Type.Text.ext) {
53
throw IllegalArgumentException("Dest file name must end with .${Type.Text.ext}")
54
55
dest.delete()
0 commit comments