From d8c5fcf00bdd3170365e92e43880021031c7d005 Mon Sep 17 00:00:00 2001 From: YOUNG HO CHA Date: Wed, 4 Aug 2021 12:30:07 +0900 Subject: [PATCH] Fix indentation of EnumWithObfuscatedTest --- .../google/gson/functional/EnumWithObfuscatedTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gson/src/test/java/com/google/gson/functional/EnumWithObfuscatedTest.java b/gson/src/test/java/com/google/gson/functional/EnumWithObfuscatedTest.java index 8ad206a2..080b81fa 100644 --- a/gson/src/test/java/com/google/gson/functional/EnumWithObfuscatedTest.java +++ b/gson/src/test/java/com/google/gson/functional/EnumWithObfuscatedTest.java @@ -45,11 +45,11 @@ public class EnumWithObfuscatedTest extends TestCase { public void testEnumClassWithObfuscated() { for (Gender enumConstant: Gender.class.getEnumConstants()) { - try { - Gender.class.getField(enumConstant.name()); - fail("Enum is not obfuscated"); - } catch (NoSuchFieldException ignore) { - } + try { + Gender.class.getField(enumConstant.name()); + fail("Enum is not obfuscated"); + } catch (NoSuchFieldException ignore) { + } } assertEquals(Gender.MALE, gson.fromJson("\"MAIL\"", Gender.class));