Skip to content

Commit

Permalink
Merge branch '1.11.x' into 1.12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Dec 28, 2023
2 parents 50aceaf + fb755f5 commit 9548703
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package io.micrometer.common.annotation;

import io.micrometer.common.KeyValue;
import io.micrometer.common.lang.Nullable;

/**
* Resolves the {@link KeyValue} value for the given parameter and the provided
Expand All @@ -33,6 +34,7 @@ public interface ValueExpressionResolver {
* @param parameter parameter annotated with a {@link KeyValue} related annotation
* @return the value of the {@link KeyValue}
*/
String resolve(String expression, Object parameter);
@Nullable
String resolve(String expression, @Nullable Object parameter);

}

0 comments on commit 9548703

Please sign in to comment.