Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Dec 27, 2023
2 parents a43c0fa + bb63d1f commit 0832bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/yegor256/WeAreOnline.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private static OnlineMeans retrieveSettings(final ExtensionContext context) {
.flatMap(
element -> AnnotationUtils.findAnnotation(element, OnlineMeans.class)
)
.orElse(new DefaultOnlineMeans());
.orElseGet(DefaultOnlineMeans::new);
}

/**
Expand Down

0 comments on commit 0832bfb

Please sign in to comment.