Skip to content

Commit

Permalink
Fix for Issue #450
Browse files Browse the repository at this point in the history
  • Loading branch information
mevivs committed Jan 9, 2014
1 parent bdda649 commit 647095a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ private String appendRange(final String value, final boolean inclusive, final bo
sb.append("TO");
sb.append(appender);
//composite key over lucene is not working issue #491
if (clazz != null && clazz.isAssignableFrom(int.class) || clazz.isAssignableFrom(Integer.class)
if (clazz != null && (clazz.isAssignableFrom(int.class) || clazz.isAssignableFrom(Integer.class)
|| clazz.isAssignableFrom(short.class) || clazz.isAssignableFrom(long.class)
|| clazz.isAssignableFrom(Long.class) || clazz.isAssignableFrom(float.class)
|| clazz.isAssignableFrom(Float.class) || clazz.isAssignableFrom(BigDecimal.class)
|| clazz.isAssignableFrom(Double.class) || clazz.isAssignableFrom(double.class))
|| clazz.isAssignableFrom(Double.class) || clazz.isAssignableFrom(double.class)))
{
sb.append(isGreaterThan ? "*" : value);

Expand Down
1 change: 1 addition & 0 deletions src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
</activation>
<modules>
<module>jpa-engine</module>
<module>kundera-elastic-search</module>
<module>kundera-cassandra</module>
</modules>
</profile>
Expand Down

0 comments on commit 647095a

Please sign in to comment.