Documentation fixes etc (backported from master)

This commit is contained in:
Juergen Hoeller
2021-03-09 16:57:04 +01:00
parent 0fc831e8bd
commit c978fb4466
4 changed files with 8 additions and 8 deletions

View File

@@ -10803,7 +10803,7 @@ The following example shows how our notifier can be rewritten to be invoked only
.Java
----
@EventListener(condition = "#blEvent.content == 'my-event'")
public void processBlockedListEvent(BlockedListEvent blockedListEvent) {
public void processBlockedListEvent(BlockedListEvent blEvent) {
// notify appropriate parties via notificationAddress...
}
----
@@ -10811,7 +10811,7 @@ The following example shows how our notifier can be rewritten to be invoked only
.Kotlin
----
@EventListener(condition = "#blEvent.content == 'my-event'")
fun processBlockedListEvent(blockedListEvent: BlockedListEvent) {
fun processBlockedListEvent(blEvent: BlockedListEvent) {
// notify appropriate parties via notificationAddress...
}
----

View File

@@ -1085,8 +1085,8 @@ on the target field, or you might want to run a `Converter` only if a specific m
interface ConditionalGenericConverter : GenericConverter, ConditionalConverter
----
A good example of a `ConditionalGenericConverter` is an `EntityConverter` that converts
between a persistent entity identifier and an entity reference. Such an `EntityConverter`
A good example of a `ConditionalGenericConverter` is an `IdToEntityConverter` that converts
between a persistent entity identifier and an entity reference. Such an `IdToEntityConverter`
might match only if the target entity type declares a static finder method (for example,
`findAccount(Long)`). You might perform such a finder method check in the implementation of
`matches(TypeDescriptor, TypeDescriptor)`.