From 5f48a064130f46ffab8dd0db781a694c75994da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Tue, 24 Jan 2023 17:41:47 +0100 Subject: [PATCH] Replace early returns with continues in ReturnValueBinder --- src/Connected.Data/Storage/ReturnValueBinder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Connected.Data/Storage/ReturnValueBinder.cs b/src/Connected.Data/Storage/ReturnValueBinder.cs index fe07ae8..5e8678e 100644 --- a/src/Connected.Data/Storage/ReturnValueBinder.cs +++ b/src/Connected.Data/Storage/ReturnValueBinder.cs @@ -75,13 +75,13 @@ namespace Connected.Data.Storage } if (property is null) - return; + continue; var existingValue = property.GetValue(operation); var overwriteAtt = property.FindAttribute(); if (overwriteAtt is null) - return; + continue; switch (overwriteAtt.ValueBehavior) {