浏览代码

Use the correct verbiage for documenting thrown exceptions

Mark Monteiro 5 年之前
父节点
当前提交
f7eef1aa7f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Jellyfin.Drawing.Skia/SkiaEncoder.cs

+ 3 - 3
Jellyfin.Drawing.Skia/SkiaEncoder.cs

@@ -205,9 +205,9 @@ namespace Jellyfin.Drawing.Skia
         }
 
         /// <inheritdoc />
-        /// <exception cref="ArgumentNullException">If path is null.</exception>
-        /// <exception cref="FileNotFoundException">If the path is not valid.</exception>
-        /// <exception cref="SkiaCodecException">If the file at the specified path could not be used to generate a codec.</exception>
+        /// <exception cref="ArgumentNullException">The path is null.</exception>
+        /// <exception cref="FileNotFoundException">The path is not valid.</exception>
+        /// <exception cref="SkiaCodecException">The file at the specified path could not be used to generate a codec.</exception>
         public ImageDimensions GetImageSize(string path)
         {
             if (path == null)