Mercurial > hg > openmind
comparison src/main/java/org/mpi/openmind/cache/WrapperService.java @ 73:ab61cd3ad0e0
cleanup.
author | casties |
---|---|
date | Thu, 02 Feb 2017 19:02:05 +0100 |
parents | aeb29e362a67 |
children | 68e3e4b569f9 |
comparison
equal
deleted
inserted
replaced
72:3490a2237118 | 73:ab61cd3ad0e0 |
---|---|
157 List<Long> usedIds = new ArrayList<Long>(); | 157 List<Long> usedIds = new ArrayList<Long>(); |
158 | 158 |
159 boolean mustBreak = false; | 159 boolean mustBreak = false; |
160 int count = 0; | 160 int count = 0; |
161 if (StringUtils.isNotEmpty(term)) { | 161 if (StringUtils.isNotEmpty(term)) { |
162 // TODO: better normalization | |
163 String normalizedTerm = NormalizerUtils.normalize(term); | 162 String normalizedTerm = NormalizerUtils.normalize(term); |
164 for (AttributeFilter filter : filters) { | 163 for (AttributeFilter filter : filters) { |
165 if (mustBreak) { | 164 if (mustBreak) { |
166 break; | 165 break; |
167 } | 166 } |