From 39d1461cf1e1e2b7fdddb206c9ff1f3aff3ad57b Mon Sep 17 00:00:00 2001 From: Zhijun He Date: Thu, 4 Jun 2015 20:21:23 -0700 Subject: [PATCH] Camera2: fix doc build Bug: 21645842 Change-Id: Ibd4ce455d9906da858b98f17fd7859016c1730c3 --- core/java/android/hardware/camera2/utils/SurfaceUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/hardware/camera2/utils/SurfaceUtils.java b/core/java/android/hardware/camera2/utils/SurfaceUtils.java index 79d82a86cb92e..32e74e2cdc4fc 100644 --- a/core/java/android/hardware/camera2/utils/SurfaceUtils.java +++ b/core/java/android/hardware/camera2/utils/SurfaceUtils.java @@ -52,7 +52,7 @@ public class SurfaceUtils { * @param surface The surface to be queried for size. * @return Size of the surface. * - * @throw IllegalArgumentException if the surface is already abandoned. + * @throws IllegalArgumentException if the surface is already abandoned. */ public static Size getSurfaceSize(Surface surface) { try { @@ -68,7 +68,7 @@ public class SurfaceUtils { * @param surface The surface to be queried for format. * @return format of the surface. * - * @throw IllegalArgumentException if the surface is already abandoned. + * @throws IllegalArgumentException if the surface is already abandoned. */ public static int getSurfaceFormat(Surface surface) { try {