File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/org/springframework/data/neo4j/core/mapping Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2727import org .neo4j .driver .Value ;
2828import org .neo4j .driver .types .Type ;
2929import org .springframework .data .mapping .PersistentPropertyAccessor ;
30+ import org .springframework .lang .Nullable ;
3031
3132/**
3233 * @author Michael J. Simons
@@ -45,7 +46,7 @@ public final class MappingSupport {
4546 * @return A unified collection (Either a collection of Map.Entry for dynamic and relationships with properties or a
4647 * list of related values)
4748 */
48- public static Collection <?> unifyRelationshipValue (Neo4jPersistentProperty property , Object rawValue ) {
49+ public static Collection <?> unifyRelationshipValue (Neo4jPersistentProperty property , @ Nullable Object rawValue ) {
4950
5051 if (rawValue == null ) {
5152 return Collections .emptyList ();
@@ -111,7 +112,7 @@ final static class RelationshipPropertiesWithEntityHolder {
111112 this .relatedEntity = relatedEntity ;
112113 }
113114
114- public PersistentPropertyAccessor <?> getRelationshipPropertiesPropertyAccessor () {
115+ PersistentPropertyAccessor <?> getRelationshipPropertiesPropertyAccessor () {
115116 return relationshipPropertiesPropertyAccessor ;
116117 }
117118
You can’t perform that action at this time.
0 commit comments