[Yanel-dev] [Bug 7117] New: add more mime-type to guessMimeType(String extension)

Guillaume Déflache guillaume.deflache at wyona.com
Tue May 12 14:45:37 CEST 2009


simon litwan schrieb:
> Guillaume Déflache schrieb:
>> Michael Wechner schrieb:
>>>  [...]
>>> JAF sounds good, whereas I think the following requirements are:
>>>
>>> - Peformance
>>
>> ...should be better than the submitted 
>> http://bugzilla.wyona.com/cgi-bin/bugzilla/attachment.cgi?id=1136&action=view 
>> patch which is O(N) where N is the number of registered extensions.
>> I hope JAI is using some kind of hashmap which would be O(1).
> i totally agree. use a lib is much better, use an existing lib even 
> better. probably i will not find any time soon to help. and the patch is 
> not crucial for me at the moment.
> 
> but IIUC yanel has already a dependency to this lib. we just need to 
> make use of it. right?

Well, not quite, as explained some resource-types depend on it but not 
the "yanel-webapp" artifact itself, so we would also have to add the 
dependency explicitly in src/build/dependencies.xml and 
src/build/pom-webapp.xml (IIRC).


More information about the Yanel-development mailing list