frogger
05/19/2020, 10:55 AMoverride fun extractAuthentication(map: MutableMap<String, *>)
e.g. when I want to add a list the compiler says: “Required Any? found List<String>”diesieben07
05/19/2020, 11:22 AMMutableMap<String, *>
means: A map with string values and I don't know what the values are.
If you don't know what the values are, you cannot safely put anything in, because you cannot know if it would fit.MutableMap<String, String>
. Then you cannot add a List<String>
to that.frogger
05/19/2020, 11:55 AMdiesieben07
05/19/2020, 12:06 PMMichael de Kaste
05/20/2020, 8:07 AM