Just a quickie,
Uri.encodeQuery throws java.lang.UnsupportedOperationException when handed an case insensitive map:
Uri.encodeQuery
java.lang.UnsupportedOperationException
case insensitive
static Void main(Str[] args) { Uri.encodeQuery( Str:Str[:] { caseInsensitive = true } ) } sys::UnsupportedErr: java.lang.UnsupportedOperationException fan.sys.Map$CIHashMap.keySet (Map.java:650) fan.sys.Map.keysIterator (Map.java:629) fan.sys.Uri.encodeQuery (Uri.java:87)
I'm using Java 1.6.0_43. I have an easy work around (copy to a case sensitive map!) but I thought I'd let people know.
thanks for reporting - I pushed a fix
Login or Signup to reply.
SlimerDude Fri 31 Jan 2014
Just a quickie,
Uri.encodeQuery
throwsjava.lang.UnsupportedOperationException
when handed ancase insensitive
map:I'm using Java 1.6.0_43. I have an easy work around (copy to a case sensitive map!) but I thought I'd let people know.
brian Fri 31 Jan 2014
thanks for reporting - I pushed a fix