improve Long/DoubleRange.toString

This commit is contained in:
Mike McCandless 2017-10-17 16:07:57 -04:00
parent 6fefcfa18c
commit 6b601b1c71
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public final class DoubleRange extends Range {
@Override
public String toString() {
return "DoubleRange(" + min + " to " + max + ")";
return "DoubleRange(" + label + ": " + min + " to " + max + ")";
}
private static class ValueSourceQuery extends Query {

View File

@ -80,7 +80,7 @@ public final class LongRange extends Range {
@Override
public String toString() {
return "LongRange(" + min + " to " + max + ")";
return "LongRange(" + label + ": " + min + " to " + max + ")";
}
private static class ValueSourceQuery extends Query {