summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets/PresetService.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/PresetService.cs7
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());