commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Sterijevski <gsterijev...@gmail.com>
Subject Re: [math] Updating Regression questions..
Date Sat, 10 Sep 2011 20:49:25 GMT
Sebastian,

The only observation I made is in the JIRA notes. Use thread safe
collections for the listener lists. There is a bit of overhead, but if you
have long running optimizations you might want to connect, get the state of
the optimization and then disconnect.

Thanks,

-Greg

On Sat, Sep 10, 2011 at 1:20 PM, Gilles Sadowski <
gilles@harfang.homelinux.org> wrote:

> On Sat, Sep 10, 2011 at 01:02:30PM -0500, Greg Sterijevski wrote:
> > One more question, if the request list is null, what is the proper
> return? A
> > null or is an exception returned?
>
> I think that we didn't quite decided whether to always check for null
> argument, or let the JVM generate a standard "NullPointerException" upon
> use
> of that argument.
> The alternative was to consider it an illegal argument and throw our own
> "NullArgumentException" (a subclass of "MathIllegalArgumentException").
>
>
> Best,
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message