Quoting Niclas Hedhman <[email protected]>:
Stanislav; In QueryExpressions you made an API change;
The methods;
public static <T> EqualsPredicate<String> eq( final Association<T>
property, final T value )
public static <T> EqualsPredicate<String> eq( final Association<T>
property, final VariableValueExpression<T> valueExpression )
used to return
EqualsPredicate<T> and not EqualsPredicate<String>.
Can you elaborate on why this is the case now?
Hmm, actually the
public static <T> EqualsPredicate<String> eq( final Association<T>
property, final T value )
was not done by me (IIRC), since it already was there when I started
resolving QI-214. So naturally the result of another 'eq' was to be
put in same way. They both create equals-predicate on target's
Identity property, and since it is of type String, the predicate is
EqualsPredicate<String>.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev