Changed VirtualPropertyResolver to accept TimestampCalculator in the constructor

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
This commit is contained in:
Dominik Herbst
2016-10-04 16:21:17 +02:00
parent b1d9930d94
commit 41955b7671
6 changed files with 20 additions and 9 deletions

View File

@@ -441,12 +441,10 @@ public final class RSQLUtility {
// methods.
final Object transformedValue = transformedValues.get(0);
final String value;
String value = values.get(0);
// if lookup is available, replace macros ...
if (virtualPropertyReplacer != null) {
value = virtualPropertyReplacer.replace(values.get(0));
} else {
value = values.get(0);
value = virtualPropertyReplacer.replace(value);
}
final List<Predicate> singleList = new ArrayList<>();