Skip to content

Commit

Permalink
Formatting and encoding fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Václav Beca committed Oct 13, 2022
1 parent b07b6ef commit ec890dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SinKien.IBAN4Net.NetStandard/Bban.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* IBAN4Net
* Copyright 2020 Vaclav Beca [sinkien]
*
Expand Down Expand Up @@ -189,12 +189,10 @@ public static BBanStructure GetStructureForCountry(CountryCodeEntry countryCode)

if (countryCode != null)
{

if (_bbanStructures.ContainsKey(countryCode.Alpha2))
{
result = _bbanStructures[countryCode.Alpha2].Clone();
}

}

return result;
Expand All @@ -215,7 +213,6 @@ public static BBanStructure GetStructureForCountry(string alpha2Code)
{
result = _bbanStructures[alpha2Code].Clone();
}

}

return result;
Expand Down Expand Up @@ -277,7 +274,6 @@ public BBanStructure Clone()
foreach (var item in Entries)
{
result.Entries.Add(new BBanEntry(item.EntryType, item.CharacterType, item.Length));

}
return result;
}
Expand Down

0 comments on commit ec890dd

Please sign in to comment.