[chore:] big code-cleanup session

This commit is contained in:
2026-08-02 14:34:49 +02:00
parent 7b49ed8b47
commit 59e7d96131
18 changed files with 134 additions and 597 deletions
+2 -9
View File
@@ -208,7 +208,6 @@ public class KasPerson
public static int GenerateNewID(int base_id)
{
//var newid = 100000 + base_id;
int highest = 0;
foreach (var set in Settings._instance.addressSets.addresses)
{
@@ -217,8 +216,6 @@ public class KasPerson
if(add.id >= highest) highest = add.id+1;
}
}
return highest + base_id + 1;
}
@@ -228,10 +225,8 @@ public class KasPerson
{
return refsid + " - " + name;
}
else
{
return id + " - " + name;
}
return id + " - " + name;
}
}
@@ -239,12 +234,10 @@ public class KasPersonError
{
public KasPersonError((List<AddressCheck.ErrorTypes>, List<AddressCheck.WarningTypes>) single_result)
{
//refsid = single_result.Item1;
errors = single_result.Item1;
warnings = single_result.Item2;
}
//public int refsid { get; set; }
public List<AddressCheck.ErrorTypes> errors { get; set; } = new();
public List<AddressCheck.WarningTypes> warnings { get; set; } = new();