From 91dafbcea8fe66127d5fbab5bb06d7712701feba Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 22 Jun 2020 09:29:31 -0400 Subject: [PATCH] Fix typos. --- .../java/org/apache/commons/lang3/StringUtilsTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java index 3230aa041..622cad566 100644 --- a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java @@ -3279,12 +3279,12 @@ public class StringUtilsTest { assertEquals("title", "TITLE".toLowerCase(Locale.ROOT)); assertEquals("title", StringUtils.toRootLowerCase("TITLE")); // Make sure we are not using the default Locale: - final Locale defaultLocales = Locale.getDefault(); + final Locale defaultLocale = Locale.getDefault(); try { Locale.setDefault(TURKISH); assertEquals("title", StringUtils.toRootLowerCase("TITLE")); } finally { - Locale.setDefault(defaultLocales); + Locale.setDefault(defaultLocale); } } @@ -3299,12 +3299,12 @@ public class StringUtilsTest { assertEquals("TITLE", "title".toUpperCase(Locale.ROOT)); assertEquals("TITLE", StringUtils.toRootUpperCase("title")); // Make sure we are not using the default Locale: - final Locale defaultLocales = Locale.getDefault(); + final Locale defaultLocale = Locale.getDefault(); try { Locale.setDefault(TURKISH); assertEquals("TITLE", StringUtils.toRootUpperCase("title")); } finally { - Locale.setDefault(defaultLocales); + Locale.setDefault(defaultLocale); } }