Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/PolyLine.cs
===================================================================
diff -u -r6404 -r7077
--- DamEngine/trunk/src/Deltares.DamEngine.Data/General/PolyLine.cs (.../PolyLine.cs) (revision 6404)
+++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/PolyLine.cs (.../PolyLine.cs) (revision 7077)
@@ -1,4 +1,4 @@
-// Copyright (C) Stichting Deltares 2025. All rights reserved.
+// Copyright (C) Stichting Deltares 2026. All rights reserved.
//
// This file is part of the Dam Engine.
//
@@ -59,12 +59,12 @@
///
public virtual bool Equals(PolyLine other)
{
- bool isEqual = (other.Points.Count == Points.Count);
+ bool isEqual = other.Points.Count == Points.Count;
if (isEqual)
{
for (var pointIndex = 0; pointIndex < Points.Count; pointIndex++)
{
- isEqual = isEqual && (Points[pointIndex].LocationEquals(other.Points[pointIndex]));
+ isEqual = isEqual && Points[pointIndex].LocationEquals(other.Points[pointIndex]);
}
}
@@ -77,7 +77,7 @@
///
public bool Exists()
{
- return (Points.Count > 1);
+ return Points.Count > 1;
}
///