From 1916c2b750204b1bd7de063b30ecc9c03a78a193 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 28 Jan 2019 14:02:16 -0500 Subject: [PATCH] refactor: Reducing duplicate code --- ICD.Common.Utils/ReprBuilder.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ICD.Common.Utils/ReprBuilder.cs b/ICD.Common.Utils/ReprBuilder.cs index 88bb1c8..d314408 100644 --- a/ICD.Common.Utils/ReprBuilder.cs +++ b/ICD.Common.Utils/ReprBuilder.cs @@ -34,14 +34,8 @@ namespace ICD.Common.Utils /// public ReprBuilder AppendProperty(string name, object value) { - m_PropertyOrder.Remove(name); - m_PropertyOrder.Add(name); - string valueString = GetValueStringRepresentation(value); - - m_PropertyValues[name] = valueString; - - return this; + return AppendPropertyRaw(name, valueString); } ///