Re: [Email] Mailcap changes causing a send() to hang

2010-01-12 Thread Siegfried Goeschl
Hi Mike, I have no idea what you are trying do ... :-) ... +) why do you need to tinker with mailcap configuration? +) when it hangs do you have a thread dump Cheers, Siegfried Goeschl Mike Baranski wrote: > I have the following changes to the mailcap settings so I can add > attachments. > >

Re: Commons Primitive

2010-01-12 Thread Ted Dunning
Benson Margulies has been doing a lot of work in the Mahout project related to what you are looking for. See https://issues.apache.org/jira/browse/MAHOUT-239 and related issues. On Tue, Jan 12, 2010 at 6:47 AM, Reto Bachmann-Gmuer wrote: > Not findig IntSet and IntIterator, is there any artifac

[Email] Mailcap changes causing a send() to hang

2010-01-12 Thread Mike Baranski
I have the following changes to the mailcap settings so I can add attachments. This causes the email's send() method to hang. Any ideas? MailcapCommandMap mc = (MailcapCommandMap)CommandMap.getDefaultCommandMap(); mc.addMailcap("text/html;; x-java-content-hand

Re: Commons Primitive

2010-01-12 Thread Reto Bachmann-Gmuer
Not findig IntSet and IntIterator, is there any artifact containing them? Wouldn't such classes be better placed in commons.primitives, why not resolve PRIMITIVES-3? additionally to the mentioned IntHashSet and IntIterator I'm also looking for an IntHashMap (key is an int). Cheers, reto On Sat,

Re: Null safe dateformat?

2010-01-12 Thread Simone Tripodi
Hi Ludwig, I suggest you to include, between square brackets, the commons component name, which you are interested, in the mail subject, otherwise people can get confused and not able to reply properly. Have a nice day, Simo On Tue, Jan 12, 2010 at 10:28 AM, Ludwig Magnusson wrote: > Hi! > > Comm

Null safe dateformat?

2010-01-12 Thread Ludwig Magnusson
Hi! Commons is famous for its null-safe methods, but are there no null safe dateFormat methods? I'm looking for something that looks like DateformatClass.format(date, formatString) that returns an empty string or null (but at least does not throw an exception) if the date is null. I looked at