Keeps map keys as text whatever key type the signature declares

All 2 scenarios hold

The parameter in this table is declared Map<Integer, Integer>, yet its keys arrive as the cell text: only the value type takes part in conversion.

expected outcome broken scenario
ScenarioMap inputKey type?Keys?Value type?Values?
Digits as keys
1
10
2
20
java.lang.String
  • 1
  • 2
java.lang.Integer
  • 10
  • 20
Words as keys
a
10
b
20
java.lang.String
  • a
  • b
java.lang.Integer
  • 10
  • 20