Changeset 903
- Timestamp:
- 11/15/10 14:44:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/VirtualCollectionRegistry.java
r780 r903 411 411 412 412 // optimization; don't query, if we won't get any results 413 if (totalCount > 0) { 413 /* 414 * FIXME: offset == -1 is temporary hack for just fetching 415 * total count; re-factor to have fetch-count and fetch-data 416 * methods! 417 */ 418 if ((totalCount > 0) && (offset > -1)) { 414 419 if (offset > 0) { 415 420 q.setFirstResult(offset); … … 475 480 476 481 // optimization; don't query, if we won't get any results 477 if (totalCount > 0) { 482 /* 483 * FIXME: offset == -1 is temporary hack for just fetching 484 * total count; re-factor to have fetch-count and fetch-data 485 * methods! 486 */ 487 if ((totalCount > 0) && (offset > -1)) { 478 488 if (offset > 0) { 479 489 q.setFirstResult(offset);
Note: See TracChangeset
for help on using the changeset viewer.