File tree 1 file changed +3
-2
lines changed
src/main/java/org/springframework/data/neo4j/core/mapping
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 27
27
import org .neo4j .driver .Value ;
28
28
import org .neo4j .driver .types .Type ;
29
29
import org .springframework .data .mapping .PersistentPropertyAccessor ;
30
+ import org .springframework .lang .Nullable ;
30
31
31
32
/**
32
33
* @author Michael J. Simons
@@ -45,7 +46,7 @@ public final class MappingSupport {
45
46
* @return A unified collection (Either a collection of Map.Entry for dynamic and relationships with properties or a
46
47
* list of related values)
47
48
*/
48
- public static Collection <?> unifyRelationshipValue (Neo4jPersistentProperty property , Object rawValue ) {
49
+ public static Collection <?> unifyRelationshipValue (Neo4jPersistentProperty property , @ Nullable Object rawValue ) {
49
50
50
51
if (rawValue == null ) {
51
52
return Collections .emptyList ();
@@ -111,7 +112,7 @@ final static class RelationshipPropertiesWithEntityHolder {
111
112
this .relatedEntity = relatedEntity ;
112
113
}
113
114
114
- public PersistentPropertyAccessor <?> getRelationshipPropertiesPropertyAccessor () {
115
+ PersistentPropertyAccessor <?> getRelationshipPropertiesPropertyAccessor () {
115
116
return relationshipPropertiesPropertyAccessor ;
116
117
}
117
118
You can’t perform that action at this time.
0 commit comments