mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
SEARCH-339: Split the interval set params in 2.
This commit is contained in:
@@ -89,7 +89,14 @@ public class IntervalSet
|
|||||||
sb.append(" key="+label);
|
sb.append(" key="+label);
|
||||||
}
|
}
|
||||||
sb.append("}")
|
sb.append("}")
|
||||||
.append(startInclusive?"[":"(")
|
.append(toRange());
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toRange()
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder("");
|
||||||
|
sb.append(startInclusive?"[":"(")
|
||||||
.append(start)
|
.append(start)
|
||||||
.append(","+end)
|
.append(","+end)
|
||||||
.append(endInclusive?"]":")");
|
.append(endInclusive?"]":")");
|
||||||
|
Reference in New Issue
Block a user