private BasicQuery composeQuery(
final Geometry jtsBounds,
final TemporalConstraints timeBounds ) {
if (jtsBounds == null) {
if (timeBounds == null) {
return new TemporalQuery(
new TemporalConstraints());
}
else {
return new TemporalQuery(
timeBounds);
}
}
else {
if (timeBounds == null) {