From 4e19b3cc2d5693b9d389a0350aa497c19a94c497 Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Fri, 27 Sep 2024 13:44:31 -0700 Subject: [PATCH] Fix formatting --- src/SIL.Machine.Morphology.HermitCrab/Morpher.cs | 2 +- src/SIL.Machine/Annotations/Annotation.cs | 4 +--- src/SIL.Machine/Annotations/ShapeNode.cs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs b/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs index bb66bf825..d996d9fe8 100644 --- a/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs +++ b/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs @@ -523,7 +523,7 @@ private IEnumerable GetShapeStrings(IList nodes, CharacterDef found = true; break; } - } + } if (!found) uniqueStrReps.Add(strRep); } diff --git a/src/SIL.Machine/Annotations/Annotation.cs b/src/SIL.Machine/Annotations/Annotation.cs index 617f94f96..7292fc591 100644 --- a/src/SIL.Machine/Annotations/Annotation.cs +++ b/src/SIL.Machine/Annotations/Annotation.cs @@ -202,9 +202,7 @@ public bool ValueEquals(Annotation other) if (!IsLeaf && !_children.ValueEquals(other._children)) return false; - return _fs.ValueEquals(other._fs) - && _optional == other._optional - && Range == other.Range; + return _fs.ValueEquals(other._fs) && _optional == other._optional && Range == other.Range; } public int GetFrozenHashCode() diff --git a/src/SIL.Machine/Annotations/ShapeNode.cs b/src/SIL.Machine/Annotations/ShapeNode.cs index ad4ff1111..29a9d5064 100644 --- a/src/SIL.Machine/Annotations/ShapeNode.cs +++ b/src/SIL.Machine/Annotations/ShapeNode.cs @@ -50,7 +50,7 @@ public Annotation Annotation /// public bool Iterative { - get { return Annotation.Data != null; } + get { return Annotation.Data != null; } set { if (value)