diff options
author | sr55 <[email protected]> | 2016-10-30 20:18:45 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-10-30 20:18:45 +0000 |
commit | 5cc2fbbca69eaac36d85d63b09cc3af39cee2cf2 (patch) | |
tree | b27c7cb02e6678fe85ef6f1f78b1ed4414572669 /win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | |
parent | 2c2947ac86ffbf4f5fa9111847ac31efd75c7d05 (diff) |
WinGui: Fix a large number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets/PresetService.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs index 6c4a48864..8af0b3d03 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs @@ -256,6 +256,12 @@ namespace HandBrakeWPF.Services.Presets /// <summary>
/// Replace an existing preset with a modified one.
/// </summary>
+ /// <param name="existing">
+ /// The existing.
+ /// </param>
+ /// <param name="replacement">
+ /// The replacement.
+ /// </param>
public void Replace(Preset existing, Preset replacement)
{
this.Remove(existing);
@@ -521,7 +527,6 @@ namespace HandBrakeWPF.Services.Presets PresetTransportContainer container = null;
using (StreamReader reader = new StreamReader(this.presetFile))
{
-
try
{
container = JsonConvert.DeserializeObject<PresetTransportContainer>(reader.ReadToEnd());
|