Skip to content

Commit 6c5aa1e

Browse files
committed
Correctly mark getDefaultConvention as Nullable
1 parent 2d2dca2 commit 6c5aa1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

micrometer-observation/src/main/java/io/micrometer/observation/docs/ObservationDocumentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ default String getName() {
7575
* {@link #getContextualName()}.
7676
* @return default naming convention
7777
*/
78+
@Nullable
7879
default Class<? extends ObservationConvention<? extends Observation.Context>> getDefaultConvention() {
7980
return null;
8081
}

0 commit comments

Comments
 (0)