Skip to content

Commit

Permalink
Fix bugs, remove unecessary null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Dec 26, 2024
1 parent 64cf807 commit 59e3270
Show file tree
Hide file tree
Showing 21 changed files with 423 additions and 441 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object CompilerOptions {
*/
@JvmStatic
fun getCompilerOptions(library: Library): Set<CqlCompilerOptions.Options>? {
if (library.annotation.isNullOrEmpty()) {
if (library.annotation.isEmpty()) {
return null
}
val compilerOptions = getCompilerOptions(library.annotation as List<CqlToElmBase>)
Expand Down Expand Up @@ -74,7 +74,7 @@ object CompilerOptions {
*/
@JvmStatic
fun getCompilerVersion(library: Library): String? {
if (library.annotation.isNullOrEmpty()) {
if (library.annotation.isEmpty()) {
return null
}
return getCompilerVersion(library.annotation as List<CqlToElmBase>)
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 59e3270

Please sign in to comment.