Skip to content
Snippets Groups Projects
Commit a44cfd34 authored by Simon Barner's avatar Simon Barner
Browse files

RED

parent 50e3e397
No related branches found
No related tags found
1 merge request!66Properties: Enable binding positive+zero integers
This commit is part of merge request !66. Comments created here will be created in the context of that merge request.
DerivedAnnotationBaseStaticImpl.java d1b98d0c06b781fe297f63b0bfdc5dc72fe462c0 YELLOW
DerivedAnnotationBaseStaticImpl.java 60f0394ccbea9907c6f617c913bb844e84906e01 RED
LibraryElementBaseStaticImpl.java 13222726153d5159994866795b059a4cc3522434 GREEN
......@@ -37,6 +37,7 @@ public class DerivedAnnotationBaseStaticImpl {
* @return See above.
*/
public static <T> T getValue(IDerivedAnnotation<T> annotation) {
// TODO (SB): Compute derived annotated value only if user annotated value is not preferred.
T derivedValue = annotation.getDerivedValue();
if(annotation.isUserAnnotatedValuePreferred() || derivedValue == null) {
// User annotated value is preferred, or the derived value is not available
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment