Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoareis committed Aug 12, 2024
1 parent 7dd3bab commit d920cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abstract class AbstractProtectCallback(raw: JSONObject, index: Int) : NodeAware,
fun setClientErrorInHiddenCallback(value: String) {
for (callback in node.callbacks) {
if (callback is HiddenValueCallback) {
if (callback.id == CLIENT_ERROR) {
if (callback.id.contains(CLIENT_ERROR)) {
callback.value = value
}
}
Expand All @@ -80,7 +80,7 @@ abstract class AbstractProtectCallback(raw: JSONObject, index: Int) : NodeAware,
fun setSignalsInHiddenCallback(value: String) {
for (callback in node.callbacks) {
if (callback is HiddenValueCallback) {
if (callback.id == PING_ONE_RISK_EVALUATION_SIGNALS) {
if (callback.id.contains(PING_ONE_RISK_EVALUATION_SIGNALS)) {
callback.value = value
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ private val TAG = PingOneProtectEvaluationCallback::class.java.simpleName
open class PingOneProtectEvaluationCallback @Keep constructor(jsonObject: JSONObject, index: Int) :
AbstractProtectCallback(jsonObject, index) {

// @Keep
// constructor() : super()

/**
* The pauseBehavioralData received from server
*/
Expand Down

0 comments on commit d920cd3

Please sign in to comment.