jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r808783 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/constraint/ConstraintBuilder.java
Date Fri, 28 Aug 2009 07:20:59 GMT
Hi,

On Fri, Aug 28, 2009 at 9:16 AM, <thomasm@apache.org> wrote:
>                 throw new InvalidQueryException("Static value " +
> -                        staticValue.toString() + " cannot be converted to
a Long");
> +                        staticValue.getString() + " cannot be converted
to a Long");

Why not change the toString() method? Then you could also write:

    "Static value " + staticValue + " cannot be converted to a Long"

BR,

Jukka Zitting

Mime
View raw message