On Aug 10, 2010, at 7:53pm, Mattmann, Chris A (388J) wrote:

Hi Ken,

No objection from me. Do you know who it was that changed it to use a SortedMap?

Looks like Jukka (rev 956017 on June 18th, 2010) for TIKA-89.

-- Ken

On 8/10/10 4:24 PM, "Ken Krugler" <[email protected]> wrote:

Hi Tika developers,

On Jul 15, 2010, at 2:59pm, Ken Krugler wrote:

We ran into an issue recently, where some Bixo code built against
Tika 0.7 broke when we tried to use it with Tika 0.8

The problem is that MediaType.getParameters was changed to return a
SortedMap versus a Map, so the routine that Bixo is trying to call
doesn't exist. We could fix this by building two different versions
of Bixo, one for Tika 0.7 and one for Tika 0.8 (snapshot), but
that's a bit painful.

I didn't see any callers of getParameters() that depended on keys
being in sorted order, so I'm curious why this change was made.

I haven't heard anything back on this, so I'll open an issue to change
the code to (once again) return just a regular Map vs. a SortedMap.

Thanks,

-- Ken

--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c   w e b   m i n i n g




Reply via email to