Changeset 4974
- Timestamp:
- 04/14/14 15:18:14 (10 years ago)
- Location:
- vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/pojo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/pojo/FacetSelection.java
r4971 r4974 108 108 } 109 109 110 /** 111 * 112 * @return whether this instance represents an actual selection 113 */ 114 public boolean isEmpty() { 115 return selectionType != FacetSelectionType.NOT_EMPTY // 'not empty' does not require any value, other types do 116 && (values == null || values.isEmpty()); 117 } 118 110 119 } -
vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/pojo/QueryFacetsSelection.java
r4963 r4974 112 112 113 113 public void selectValues(String facet, FacetSelection values) { 114 if (values == null ) {114 if (values == null || values.isEmpty()) { 115 115 selection.remove(facet); 116 116 } else {
Note: See TracChangeset
for help on using the changeset viewer.