Hi,
I recently got a list of annoying warnings in my log.
when I write something like that:
What I expected, was no warning, because RunMethod returns an object and I just want to convert this object to int, because hashCode returns an int.
It's not really a big issue, but I just get my logs flooded with a list of type Mismatch. I'm not sure, but it could have appeared when I updated to 3.50.
Thank you for your amazing work.
Jmon.
I recently got a list of annoying warnings in my log.
Types do not match. (Warning #22)
when I write something like that:
B4X:
Dim Id As Int
Dim Text as JavaObject = "My Text"
Id = Text.RunMethod("hashCode", Null)
What I expected, was no warning, because RunMethod returns an object and I just want to convert this object to int, because hashCode returns an int.
It's not really a big issue, but I just get my logs flooded with a list of type Mismatch. I'm not sure, but it could have appeared when I updated to 3.50.
Thank you for your amazing work.
Jmon.