You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Jukka Zitting <ju...@gmail.com> on 2009/08/28 09:20:59 UTC
Re: svn commit: r808783 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/constraint/ConstraintBuilder.java
Hi,
On Fri, Aug 28, 2009 at 9:16 AM, <th...@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
Re: svn commit: r808783 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/constraint/ConstraintBuilder.java
Posted by Thomas Müller <th...@day.com>.
Hi,
> Why not change the toString() method?
Good idea. I will file a bug.
Regards,
Thomas