Code Scanning fixes

This commit is contained in:
Miha Kralj
2024-10-05 15:36:27 -07:00
parent 3458b14ebb
commit 6aced565c1
5 changed files with 15 additions and 20 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public class Atr : AbstractBarBase {
/// <exception cref="ArgumentOutOfRangeException">
/// Thrown when period is less than 1.
/// </exception>
public Atr(int period) : base() {
public Atr(int period) {
if (period < 1) {
throw new ArgumentOutOfRangeException(nameof(period), "Period must be greater than or equal to 1.");
}