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,10 +89,17 @@ public class IntervalSet
|
||||
sb.append(" key="+label);
|
||||
}
|
||||
sb.append("}")
|
||||
.append(startInclusive?"[":"(")
|
||||
.append(start)
|
||||
.append(","+end)
|
||||
.append(endInclusive?"]":")");
|
||||
.append(toRange());
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public String toRange()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder("");
|
||||
sb.append(startInclusive?"[":"(")
|
||||
.append(start)
|
||||
.append(","+end)
|
||||
.append(endInclusive?"]":")");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user