You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/05/19 12:14:11 UTC
(commons-beanutils) 01/02: Use an import instead of a FQCN
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit 4753415b035f9abcd1047f12d5b72ddf66d5097f
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Mon May 19 08:13:59 2025 -0400
Use an import instead of a FQCN
---
.../beanutils/locale/converters/DateLocaleConverterTestCase.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java b/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
index 376d611f..740e19a3 100644
--- a/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
@@ -20,6 +20,7 @@ package org.apache.commons.beanutils.locale.converters;
import java.text.DateFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateFormat;
+import java.util.Calendar;
import java.util.Locale;
import org.apache.commons.beanutils.ConversionException;
@@ -110,7 +111,7 @@ public class DateLocaleConverterTestCase extends BaseLocaleConverterTestCase {
*/
public void testCalendarObject() {
converter = new DateLocaleConverter(defaultLocale);
- final java.util.Calendar calendar = java.util.Calendar.getInstance();
+ final Calendar calendar = Calendar.getInstance();
calendar.setTime((java.util.Date)expectedValue);
assertEquals("java.util.Calendar", expectedValue, converter.convert(calendar));
}