rider sure has a lot to say about my code

This commit is contained in:
Lynne Megido 2020-09-26 23:15:54 +10:00
parent 95ae8f11b3
commit c5748a21d4
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace BunyMuny {
/// <param name="file">The CSV file to read</param>
/// <param name="ruleFile">The JSON file to use for rules when parsing statement descriptions</param>
/// <returns></returns>
static int Main(string file = "test.csv", string ruleFile = "rules.json") {
private static int Main(string file = "test.csv", string ruleFile = "rules.json") {
var bank = Bank.Other;
var statements = new List<Statement>();
List<Rule> rules;

View File

@ -7,7 +7,7 @@ namespace BunyMuny {
private string _description;
public string Description {
get => string.IsNullOrWhiteSpace(_description) ? OriginalDescription : _description;
set { _description = value; }
set => _description = value;
}
public string OriginalDescription;