Skip to content

Commit

Permalink
throw error on Json mappers
Browse files Browse the repository at this point in the history
  • Loading branch information
ajamaica committed Aug 11, 2023
1 parent f0025b9 commit 60f9ed0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
Expand Down
3 changes: 3 additions & 0 deletions solana/src/main/java/com/solana/api/getProgramAccounts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class ProgramAccountRequest(
put("bytes", filter.memcmp.bytes)
}
}

else -> { throw NotImplementedError("Not implemented") }
}
}
}
Expand All @@ -70,6 +72,7 @@ class ProgramAccountRequest(
is Number -> put(k, v)
is String -> put(k, v)
is Boolean -> put(k, v)
else -> { throw NotImplementedError("Not implemented") }
}
}
}
Expand Down

0 comments on commit 60f9ed0

Please sign in to comment.