Skip to content

Commit

Permalink
exhaust when regardless of java version
Browse files Browse the repository at this point in the history
  • Loading branch information
F43nd1r committed Apr 1, 2021
1 parent c83eb47 commit 5a4965b
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,8 @@ fun Modifier.toKModifier(): KModifier? {
Modifier.PROTECTED -> KModifier.PROTECTED
Modifier.PRIVATE -> KModifier.PRIVATE
Modifier.ABSTRACT -> KModifier.ABSTRACT
Modifier.DEFAULT -> null
Modifier.STATIC -> null
Modifier.FINAL -> KModifier.FINAL
Modifier.TRANSIENT -> null
Modifier.VOLATILE -> null
Modifier.SYNCHRONIZED -> null
Modifier.NATIVE -> null
Modifier.STRICTFP -> null
Modifier.SEALED -> KModifier.SEALED
Modifier.NON_SEALED -> null
else -> null
}
}

Expand Down

0 comments on commit 5a4965b

Please sign in to comment.