@ -223,7 +223,7 @@ It's an established pattern to rather use static factory methods to expose these
@@ -223,7 +223,7 @@ It's an established pattern to rather use static factory methods to expose these
Java's allows a flexible design of domain classes where a subclass could define a property that is already declared with the same name in its superclass.
Java allows a flexible design of domain classes where a subclass could define a property that is already declared with the same name in its superclass.
Consider the following example:
[source,java]
@ -326,7 +326,7 @@ data class Person(var id: String, val name: String) {
@@ -326,7 +326,7 @@ data class Person(var id: String, val name: String) {
----
Kotlin supports parameter optionality by allowing default values to be used if a parameter is not provided.
When Spring Data detects a constructor with parameter defaulting, then it leaves these parameters absent if the data store does not provide a value (or simply returns `null`) so Kotlin can apply parameter defaulting.Consider the following class that applies parameter defaulting for `name`
When Spring Data detects a constructor with parameter defaulting, then it leaves these parameters absent if the data store does not provide a value (or simply returns `null`) so Kotlin can apply parameter defaulting.Consider the following class that applies parameter defaulting for `name`
@ -192,7 +192,7 @@ public class PropertyValueConverterRegistrar<P extends PersistentProperty<P>> {
@@ -192,7 +192,7 @@ public class PropertyValueConverterRegistrar<P extends PersistentProperty<P>> {
@ -83,7 +83,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
@@ -83,7 +83,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
@ -146,7 +146,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
@@ -146,7 +146,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa