From c3ae4c6dc51d9de52dda6f64d0faabb0ee7a5fa2 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 6 May 2022 17:43:16 -0400 Subject: [PATCH] refactor: Make VolSurfaceColumn.model readonly It's never reassigned; should have been readonly to begin with --- src/client/spark/AW2/ViewModel/Grid/VolSurfaceColumn.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceColumn.cs b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceColumn.cs index 8220c831b..b716b1e50 100644 --- a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceColumn.cs +++ b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceColumn.cs @@ -26,7 +26,7 @@ namespace mbts.spark.VolSurface { id = key ?? throw new InvalidOperationException("Column key cannot be null"); } - public VolSurfaceDisplayGridColumn model { get; set; } + public VolSurfaceDisplayGridColumn model { get; } public VolSurfaceColumnType type => model.type; public new VolSurfaceColumnSettings create() {