commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherb...@apache.org
Subject [commons-beanutils] 01/02: CheckStyle issues resolved
Date Fri, 28 Aug 2020 17:00:42 GMT
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git

commit 0ceeb7ac29a06e45268836c97a052fde743dc070
Author: melloware <mellowaredev@gmail.com>
AuthorDate: Fri Aug 28 12:30:38 2020 -0400

    CheckStyle issues resolved
---
 .../org/apache/commons/beanutils2/BeanMap.java     |  3 +-
 .../BeanPropertyValueEqualsPredicate.java          |  3 +-
 .../apache/commons/beanutils2/BeanUtilsBean.java   |  2 +-
 .../commons/beanutils2/ConvertUtilsBean.java       | 12 ++++----
 .../apache/commons/beanutils2/DynaProperty.java    |  4 +--
 .../org/apache/commons/beanutils2/MethodUtils.java |  3 +-
 .../apache/commons/beanutils2/RowSetDynaClass.java |  5 +--
 .../apache/commons/beanutils2/WeakFastHashMap.java |  2 ++
 .../beanutils2/converters/DateTimeConverter.java   | 13 ++++----
 .../beanutils2/converters/NumberConverter.java     |  3 +-
 .../beanutils2/locale/BaseLocaleConverter.java     |  3 +-
 .../commons/beanutils2/locale/LocaleBeanUtils.java |  3 +-
 .../beanutils2/locale/LocaleBeanUtilsBean.java     |  3 +-
 .../beanutils2/locale/LocaleConvertUtils.java      |  3 +-
 .../converters/BigDecimalLocaleConverter.java      |  3 +-
 .../converters/BigIntegerLocaleConverter.java      |  3 +-
 .../locale/converters/ByteLocaleConverter.java     |  3 +-
 .../locale/converters/DateLocaleConverter.java     |  3 +-
 .../locale/converters/DecimalLocaleConverter.java  |  3 +-
 .../locale/converters/DoubleLocaleConverter.java   |  3 +-
 .../locale/converters/FloatLocaleConverter.java    |  3 +-
 .../locale/converters/IntegerLocaleConverter.java  |  3 +-
 .../locale/converters/LongLocaleConverter.java     |  3 +-
 .../locale/converters/ShortLocaleConverter.java    |  3 +-
 .../locale/converters/SqlDateLocaleConverter.java  |  3 +-
 .../locale/converters/SqlTimeLocaleConverter.java  |  3 +-
 .../converters/SqlTimestampLocaleConverter.java    |  3 +-
 .../locale/converters/StringLocaleConverter.java   |  3 +-
 .../FluentPropertyBeanIntrospectorTestCase.java    | 36 +++++++++++-----------
 .../commons/beanutils2/bugs/Jira157TestCase.java   |  4 +--
 .../commons/beanutils2/bugs/Jira493TestCase.java   | 18 +++++------
 .../converters/DateConverterTestBase.java          |  6 ++--
 .../converters/DurationConverterTestCase.java      | 12 ++++----
 .../converters/EnumConverterTestCase.java          | 12 ++++----
 .../converters/LocalTimeConverterTestCase.java     |  8 ++---
 .../converters/MonthDayConverterTestCase.java      | 12 ++++----
 .../converters/OffsetTimeConverterTestCase.java    |  8 ++---
 .../converters/PathConverterTestCase.java          |  4 +--
 .../converters/UUIDConverterTestCase.java          |  4 +--
 .../converters/YearConverterTestCase.java          | 12 ++++----
 .../converters/YearMonthConverterTestCase.java     | 12 ++++----
 .../converters/ZoneIdConverterTestCase.java        | 12 ++++----
 .../converters/ZoneOffsetConverterTestCase.java    | 12 ++++----
 .../locale/LocaleConvertUtilsTestCase.java         |  1 -
 44 files changed, 151 insertions(+), 126 deletions(-)

diff --git a/src/main/java/org/apache/commons/beanutils2/BeanMap.java b/src/main/java/org/apache/commons/beanutils2/BeanMap.java
index 566f796..c456d40 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanMap.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanMap.java
@@ -267,7 +267,8 @@ public class BeanMap extends AbstractMap<String, Object> implements Cloneable {
             if (method != null) {
                 try {
                     return method.invoke(bean, NULL_ARGUMENTS);
-                } catch (final IllegalAccessException | NullPointerException | InvocationTargetException | IllegalArgumentException e) {
+                } catch (final IllegalAccessException | NullPointerException |
+                               InvocationTargetException | IllegalArgumentException e) {
                     logWarn(e);
                 }
             }
diff --git a/src/main/java/org/apache/commons/beanutils2/BeanPropertyValueEqualsPredicate.java b/src/main/java/org/apache/commons/beanutils2/BeanPropertyValueEqualsPredicate.java
index c376411..442bdc8 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanPropertyValueEqualsPredicate.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanPropertyValueEqualsPredicate.java
@@ -164,7 +164,8 @@ public class BeanPropertyValueEqualsPredicate<T, V> implements Predicate<T> {
      * generate an {@code IllegalArgumentException} or not.
      * @throws IllegalArgumentException If the property name provided is null or empty.
      */
-    public BeanPropertyValueEqualsPredicate(final String propertyName, final V propertyValue, final boolean ignoreNull) {
+    public BeanPropertyValueEqualsPredicate(final String propertyName, final V propertyValue,
+            final boolean ignoreNull) {
         super();
 
         if (propertyName != null && propertyName.length() > 0) {
diff --git a/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
index 7ea45e3..1366b6f 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
@@ -905,7 +905,7 @@ public class BeanUtilsBean {
             }
             type = dynaPropertyType(dynaProperty, value);
             if (index >= 0 && List.class.isAssignableFrom(type)) {
-            	type = Object.class;
+                type = Object.class;
             }
         } else if (target instanceof Map) {
             type = Object.class;
diff --git a/src/main/java/org/apache/commons/beanutils2/ConvertUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/ConvertUtilsBean.java
index 54117cd..8dc70c1 100644
--- a/src/main/java/org/apache/commons/beanutils2/ConvertUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/ConvertUtilsBean.java
@@ -514,7 +514,7 @@ public class ConvertUtilsBean {
      * {@code false} if a default value should be used.
      */
     private void registerOther(final boolean throwException) {
-    	  // @formatter:off
+        // @formatter:off
         register(Class.class,          throwException ? new ClassConverter()          : new ClassConverter(null));
         register(Enum.class,           throwException ? new EnumConverter()           : new EnumConverter(null));
         register(java.util.Date.class, throwException ? new DateConverter()           : new DateConverter(null));
@@ -523,16 +523,16 @@ public class ConvertUtilsBean {
         register(Path.class,           throwException ? new PathConverter()           : new PathConverter(null));
         register(java.sql.Date.class,  throwException ? new SqlDateConverter()        : new SqlDateConverter(null));
         register(java.sql.Time.class,  throwException ? new SqlTimeConverter()        : new SqlTimeConverter(null));
-        register(Timestamp.class,      throwException ? new SqlTimestampConverter()   : new SqlTimestampConverter(null));
+        register(Timestamp.class,      throwException ? new SqlTimestampConverter()  : new SqlTimestampConverter(null));
         register(URL.class,            throwException ? new URLConverter()            : new URLConverter(null));
         register(URI.class,            throwException ? new URIConverter()            : new URIConverter(null));
         register(UUID.class,           throwException ? new UUIDConverter()           : new UUIDConverter(null));
         register(LocalDate.class,      throwException ? new LocalDateConverter()      : new LocalDateConverter(null));
-        register(LocalDateTime.class,  throwException ? new LocalDateTimeConverter()  : new LocalDateTimeConverter(null));
+        register(LocalDateTime.class, throwException ? new LocalDateTimeConverter() : new LocalDateTimeConverter(null));
         register(LocalTime.class,      throwException ? new LocalTimeConverter()      : new LocalTimeConverter(null));
-        register(OffsetDateTime.class, throwException ? new OffsetDateTimeConverter() : new OffsetDateTimeConverter(null));
+        register(OffsetDateTime.class,throwException ? new OffsetDateTimeConverter():new OffsetDateTimeConverter(null));
         register(OffsetTime.class,     throwException ? new OffsetTimeConverter()     : new OffsetTimeConverter(null));
-        register(ZonedDateTime.class,  throwException ? new ZonedDateTimeConverter()  : new ZonedDateTimeConverter(null));
+        register(ZonedDateTime.class, throwException ? new ZonedDateTimeConverter() : new ZonedDateTimeConverter(null));
         register(Duration.class,       throwException ? new DurationConverter()       : new DurationConverter(null));
         register(MonthDay.class,       throwException ? new MonthDayConverter()       : new MonthDayConverter(null));
         register(Period.class,         throwException ? new PeriodConverter()         : new PeriodConverter(null));
@@ -555,7 +555,7 @@ public class ConvertUtilsBean {
      * the default.
      */
     private void registerArrays(final boolean throwException, final int defaultArraySize) {
-    	// @formatter:off
+        // @formatter:off
 
         // Primitives
         registerArrayConverter(Boolean.TYPE,   new BooleanConverter(),   throwException, defaultArraySize);
diff --git a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java
index 2519e00..2010319 100644
--- a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java
+++ b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java
@@ -42,8 +42,8 @@ public class DynaProperty implements Serializable {
 
 
 
-	private static final long serialVersionUID = -3084907613499830175L;
-	/*
+    private static final long serialVersionUID = -3084907613499830175L;
+    /*
      * There are issues with serializing primitive class types on certain JVM versions
      * (including java 1.3).
      * This class uses a custom serialization implementation that writes an integer
diff --git a/src/main/java/org/apache/commons/beanutils2/MethodUtils.java b/src/main/java/org/apache/commons/beanutils2/MethodUtils.java
index f08b766..32d86d1 100644
--- a/src/main/java/org/apache/commons/beanutils2/MethodUtils.java
+++ b/src/main/java/org/apache/commons/beanutils2/MethodUtils.java
@@ -1299,7 +1299,8 @@ public class MethodUtils {
          * @param paramTypes the array of classes representing the parameter types
          * @param exact whether the match has to be exact.
          */
-        public MethodDescriptor(final Class<?> cls, final String methodName, Class<?>[] paramTypes, final boolean exact) {
+        public MethodDescriptor(final Class<?> cls, final String methodName, Class<?>[] paramTypes,
+                final boolean exact) {
             if (cls == null) {
                 throw new IllegalArgumentException("Class cannot be null");
             }
diff --git a/src/main/java/org/apache/commons/beanutils2/RowSetDynaClass.java b/src/main/java/org/apache/commons/beanutils2/RowSetDynaClass.java
index 10a4b1a..65f3f5d 100644
--- a/src/main/java/org/apache/commons/beanutils2/RowSetDynaClass.java
+++ b/src/main/java/org/apache/commons/beanutils2/RowSetDynaClass.java
@@ -229,8 +229,9 @@ public class RowSetDynaClass extends JDBCDynaClass {
      *  cannot be introspected
      * @since 1.8.3
      */
-    public RowSetDynaClass(final ResultSet resultSet, final boolean lowerCase, final int limit, final boolean useColumnLabel)
-                                                            throws SQLException {
+    public RowSetDynaClass(final ResultSet resultSet, final boolean lowerCase, final int limit,
+            final boolean useColumnLabel)
+            throws SQLException {
         Objects.requireNonNull(resultSet, "resultSet");
         this.lowerCase = lowerCase;
         this.limit = limit;
diff --git a/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java b/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java
index 7572877..dab83cf 100644
--- a/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java
+++ b/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java
@@ -59,6 +59,8 @@ import java.util.WeakHashMap;
  * Double-Checked Locking Idiom Is Broken Declaration</a>.</p>
  *
  * @since Commons Collections 1.0
+ * @param <K> the key
+ * @param <V> the value
  */
 public class WeakFastHashMap<K, V> extends HashMap<K, V> {
 
diff --git a/src/main/java/org/apache/commons/beanutils2/converters/DateTimeConverter.java b/src/main/java/org/apache/commons/beanutils2/converters/DateTimeConverter.java
index fec1fa1..edc2f17 100644
--- a/src/main/java/org/apache/commons/beanutils2/converters/DateTimeConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/converters/DateTimeConverter.java
@@ -440,25 +440,25 @@ public abstract class DateTimeConverter extends AbstractConverter {
 
         // java.time.LocalDateTime
         if (type.equals(LocalDate.class)) {
-        	final LocalDate localDate =  Instant.ofEpochMilli(value).atZone(getZoneId()).toLocalDate();
+            final LocalDate localDate =  Instant.ofEpochMilli(value).atZone(getZoneId()).toLocalDate();
             return type.cast(localDate);
         }
 
         // java.time.LocalDateTime
         if (type.equals(LocalDateTime.class)) {
-        	final LocalDateTime localDateTime =  Instant.ofEpochMilli(value).atZone(getZoneId()).toLocalDateTime();
+            final LocalDateTime localDateTime =  Instant.ofEpochMilli(value).atZone(getZoneId()).toLocalDateTime();
             return type.cast(localDateTime);
         }
 
         // java.time.ZonedDateTime
         if (type.equals(ZonedDateTime.class)) {
-        	final ZonedDateTime zonedDateTime =  ZonedDateTime.ofInstant(Instant.ofEpochMilli(value), getZoneId());
+            final ZonedDateTime zonedDateTime =  ZonedDateTime.ofInstant(Instant.ofEpochMilli(value), getZoneId());
             return type.cast(zonedDateTime);
         }
 
         // java.time.OffsetDateTime
         if (type.equals(OffsetDateTime.class)) {
-        	final OffsetDateTime offsetDateTime =  OffsetDateTime.ofInstant(Instant.ofEpochMilli(value), getZoneId());
+            final OffsetDateTime offsetDateTime =  OffsetDateTime.ofInstant(Instant.ofEpochMilli(value), getZoneId());
             return type.cast(offsetDateTime);
         }
 
@@ -623,7 +623,8 @@ public abstract class DateTimeConverter extends AbstractConverter {
      * @return The converted Calendar object.
      * @throws ConversionException if the String cannot be converted.
      */
-    private Calendar parse(final Class<?> sourceType, final Class<?> targetType, final String value, final DateFormat format) {
+    private Calendar parse(final Class<?> sourceType, final Class<?> targetType, final String value,
+            final DateFormat format) {
         logFormat("Parsing", format);
         format.setLenient(false);
         final ParsePosition pos = new ParsePosition(0);
@@ -711,6 +712,6 @@ public abstract class DateTimeConverter extends AbstractConverter {
      * @return the {@code ZoneId}
      */
     private ZoneId getZoneId() {
-    	return timeZone == null ? ZoneId.systemDefault() : timeZone.toZoneId();
+        return timeZone == null ? ZoneId.systemDefault() : timeZone.toZoneId();
     }
 }
diff --git a/src/main/java/org/apache/commons/beanutils2/converters/NumberConverter.java b/src/main/java/org/apache/commons/beanutils2/converters/NumberConverter.java
index e194d10..899274f 100644
--- a/src/main/java/org/apache/commons/beanutils2/converters/NumberConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/converters/NumberConverter.java
@@ -543,7 +543,8 @@ public abstract class NumberConverter extends AbstractConverter {
      * @return The converted Number object.
      * @throws ConversionException if the String cannot be converted.
      */
-    private Number parse(final Class<?> sourceType, final Class<?> targetType, final String value, final NumberFormat format) {
+    private Number parse(final Class<?> sourceType, final Class<?> targetType, final String value,
+            final NumberFormat format) {
         final ParsePosition pos = new ParsePosition(0);
         final Number parsedNumber = format.parse(value, pos);
         if (pos.getErrorIndex() >= 0 || pos.getIndex() != value.length() || parsedNumber == null) {
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/BaseLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/BaseLocaleConverter.java
index 3e4d725..a912231 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/BaseLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/BaseLocaleConverter.java
@@ -107,7 +107,8 @@ public abstract class BaseLocaleConverter implements LocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    protected BaseLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    protected BaseLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
 
         this(defaultValue, locale, pattern, true, locPattern);
     }
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java b/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java
index 2a0a14e..ecfc44d 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtils.java
@@ -607,7 +607,8 @@ public class LocaleBeanUtils extends BeanUtils {
      *
      * @see LocaleBeanUtilsBean#invokeSetter(Object, String, String, int, Object)
      */
-    protected static void invokeSetter(final Object target, final String propName, final String key, final int index, final Object newValue)
+    protected static void invokeSetter(final Object target, final String propName, final String key, final int index,
+            final Object newValue)
             throws IllegalAccessException, InvocationTargetException {
 
        LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().invokeSetter(target, propName, key, index, newValue);
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtilsBean.java
index 7987b6e..bb1ba3a 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/LocaleBeanUtilsBean.java
@@ -866,7 +866,8 @@ public class LocaleBeanUtilsBean extends BeanUtilsBean {
      * @throws InvocationTargetException if the property accessor method
      *  throws an exception
      */
-    protected void invokeSetter(final Object target, final String propName, final String key, final int index, final Object newValue)
+    protected void invokeSetter(final Object target, final String propName, final String key, final int index,
+            final Object newValue)
             throws IllegalAccessException, InvocationTargetException {
 
         try {
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java b/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java
index 10c2d08..1c09157 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/LocaleConvertUtils.java
@@ -232,7 +232,8 @@ public class LocaleConvertUtils {
      * @return the converted value
      * @see LocaleConvertUtilsBean#convert(String[], Class, Locale, String)
      */
-    public static Object convert(final String[] values, final Class<?> clazz, final Locale locale, final String pattern) {
+    public static Object convert(final String[] values, final Class<?> clazz, final Locale locale,
+            final String pattern) {
 
         return LocaleConvertUtilsBean.getInstance().convert(values, clazz, locale, pattern);
     }
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/BigDecimalLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/BigDecimalLocaleConverter.java
index 4bc99fa..05ecb5c 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/BigDecimalLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/BigDecimalLocaleConverter.java
@@ -178,7 +178,8 @@ public class BigDecimalLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public BigDecimalLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public BigDecimalLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/BigIntegerLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/BigIntegerLocaleConverter.java
index 89fbf1a..d0d1291 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/BigIntegerLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/BigIntegerLocaleConverter.java
@@ -178,7 +178,8 @@ public class BigIntegerLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public BigIntegerLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public BigIntegerLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/ByteLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/ByteLocaleConverter.java
index 3a6fcd2..9dd7d60 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/ByteLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/ByteLocaleConverter.java
@@ -188,7 +188,8 @@ public class ByteLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public ByteLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public ByteLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
 
         super(defaultValue, locale, pattern, locPattern);
     }
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java
index dc80004..dd402c3 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/DateLocaleConverter.java
@@ -195,7 +195,8 @@ public class DateLocaleConverter extends BaseLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public DateLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public DateLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/DecimalLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/DecimalLocaleConverter.java
index c8ee6da..0249a1e 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/DecimalLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/DecimalLocaleConverter.java
@@ -186,7 +186,8 @@ public class DecimalLocaleConverter extends BaseLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public DecimalLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public DecimalLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
 
     }
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/DoubleLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/DoubleLocaleConverter.java
index 0b24208..a324ba7 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/DoubleLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/DoubleLocaleConverter.java
@@ -175,7 +175,8 @@ public class DoubleLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public DoubleLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public DoubleLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/FloatLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/FloatLocaleConverter.java
index cc02691..d172f96 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/FloatLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/FloatLocaleConverter.java
@@ -177,7 +177,8 @@ public class FloatLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public FloatLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public FloatLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/IntegerLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/IntegerLocaleConverter.java
index 41cd8d5..1f719e2 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/IntegerLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/IntegerLocaleConverter.java
@@ -177,7 +177,8 @@ public class IntegerLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public IntegerLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public IntegerLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/LongLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/LongLocaleConverter.java
index 04282a3..745c654 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/LongLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/LongLocaleConverter.java
@@ -176,7 +176,8 @@ public class LongLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public LongLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public LongLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/ShortLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/ShortLocaleConverter.java
index b19c8fc..0b6be57 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/ShortLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/ShortLocaleConverter.java
@@ -178,7 +178,8 @@ public class ShortLocaleConverter extends DecimalLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public ShortLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public ShortLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlDateLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlDateLocaleConverter.java
index e7fd6a4..22a512f 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlDateLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlDateLocaleConverter.java
@@ -177,7 +177,8 @@ public class SqlDateLocaleConverter extends DateLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public SqlDateLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public SqlDateLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimeLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimeLocaleConverter.java
index e3f8acb..b5ff813 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimeLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimeLocaleConverter.java
@@ -179,7 +179,8 @@ public class SqlTimeLocaleConverter extends DateLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public SqlTimeLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public SqlTimeLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimestampLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimestampLocaleConverter.java
index ff0991a..a4a8780 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimestampLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/SqlTimestampLocaleConverter.java
@@ -178,7 +178,8 @@ public class SqlTimestampLocaleConverter extends DateLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public SqlTimestampLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public SqlTimestampLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java b/src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java
index 5aa416a..4d3b4be 100644
--- a/src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java
@@ -190,7 +190,8 @@ public class StringLocaleConverter extends BaseLocaleConverter {
      * @param pattern       The conversion pattern
      * @param locPattern    Indicate whether the pattern is localized or not
      */
-    public StringLocaleConverter(final Object defaultValue, final Locale locale, final String pattern, final boolean locPattern) {
+    public StringLocaleConverter(final Object defaultValue, final Locale locale, final String pattern,
+            final boolean locPattern) {
         super(defaultValue, locale, pattern, locPattern);
     }
 
diff --git a/src/test/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospectorTestCase.java b/src/test/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospectorTestCase.java
index 3722de6..1a3f559 100644
--- a/src/test/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospectorTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospectorTestCase.java
@@ -95,34 +95,34 @@ public class FluentPropertyBeanIntrospectorTestCase extends TestCase {
     }
 
     public void testIntrospectionCaps() throws Exception {
-	    final PropertyUtilsBean pu = new PropertyUtilsBean();
+        final PropertyUtilsBean pu = new PropertyUtilsBean();
 
         final FluentPropertyBeanIntrospector introspector = new FluentPropertyBeanIntrospector();
 
-	    pu.addBeanIntrospector(introspector);
+        pu.addBeanIntrospector(introspector);
 
-	    final Map<String, PropertyDescriptor> props = createDescriptorMap(
-			pu.getPropertyDescriptors(CapsBean.class));
+        final Map<String, PropertyDescriptor> props = createDescriptorMap(
+            pu.getPropertyDescriptors(CapsBean.class));
 
-	    final PropertyDescriptor aDescriptor = fetchDescriptor(props, "URI");
+        final PropertyDescriptor aDescriptor = fetchDescriptor(props, "URI");
 
-	    assertNotNull("missing property", aDescriptor);
+        assertNotNull("missing property", aDescriptor);
 
-	    assertNotNull("No read method for uri", aDescriptor.getReadMethod());
-	    assertNotNull("No write method for uri", aDescriptor.getWriteMethod());
+        assertNotNull("No read method for uri", aDescriptor.getReadMethod());
+        assertNotNull("No write method for uri", aDescriptor.getWriteMethod());
 
-	    assertNull("Should not find mis-capitalized property", props.get("uRI"));
+        assertNull("Should not find mis-capitalized property", props.get("uRI"));
     }
 
-	public static final class CapsBean {
-		private URI mURI;
+    public static final class CapsBean {
+        private URI mURI;
 
-		public URI getURI() {
-			return mURI;
-		}
+        public URI getURI() {
+            return mURI;
+        }
 
-		public void setURI(final URI theURI) {
-			mURI = theURI;
-		}
-	}
+        public void setURI(final URI theURI) {
+            mURI = theURI;
+        }
+    }
 }
diff --git a/src/test/java/org/apache/commons/beanutils2/bugs/Jira157TestCase.java b/src/test/java/org/apache/commons/beanutils2/bugs/Jira157TestCase.java
index 2614580..1c01913 100644
--- a/src/test/java/org/apache/commons/beanutils2/bugs/Jira157TestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/bugs/Jira157TestCase.java
@@ -77,8 +77,8 @@ public class Jira157TestCase extends TestCase {
         super.setUp();
 
         final BeanUtilsBean custom = new BeanUtilsBean();
-    	custom.getPropertyUtils().removeBeanIntrospector(SuppressPropertiesBeanIntrospector.SUPPRESS_CLASS);
-    	BeanUtilsBean.setInstance(custom);
+        custom.getPropertyUtils().removeBeanIntrospector(SuppressPropertiesBeanIntrospector.SUPPRESS_CLASS);
+        BeanUtilsBean.setInstance(custom);
     }
 
     /**
diff --git a/src/test/java/org/apache/commons/beanutils2/bugs/Jira493TestCase.java b/src/test/java/org/apache/commons/beanutils2/bugs/Jira493TestCase.java
index bd1c77a..3e262aa 100644
--- a/src/test/java/org/apache/commons/beanutils2/bugs/Jira493TestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/bugs/Jira493TestCase.java
@@ -30,14 +30,14 @@ import org.junit.Test;
 
 public class Jira493TestCase {
 
-	@Test
-	public void testIndexedProperties() throws Exception {
-		final LazyDynaBean lazyDynaBean = new LazyDynaBean();
-		final BeanUtilsBean beanUtilsBean = BeanUtilsBean.getInstance();
-		beanUtilsBean.setProperty(lazyDynaBean, "x[0]", "x1");
-		beanUtilsBean.setProperty(lazyDynaBean, "x[1]", "x2");
-		final Object x = lazyDynaBean.get("x");
-		assertEquals("[x1, x2]", x.toString());
-	}
+    @Test
+    public void testIndexedProperties() throws Exception {
+        final LazyDynaBean lazyDynaBean = new LazyDynaBean();
+        final BeanUtilsBean beanUtilsBean = BeanUtilsBean.getInstance();
+        beanUtilsBean.setProperty(lazyDynaBean, "x[0]", "x1");
+        beanUtilsBean.setProperty(lazyDynaBean, "x[1]", "x2");
+        final Object x = lazyDynaBean.get("x");
+        assertEquals("[x1, x2]", x.toString());
+    }
 
 }
\ No newline at end of file
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/DateConverterTestBase.java b/src/test/java/org/apache/commons/beanutils2/converters/DateConverterTestBase.java
index 2ebaf5b..40c2cbe 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/DateConverterTestBase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/DateConverterTestBase.java
@@ -193,11 +193,11 @@ public abstract class DateConverterTestBase extends TestCase {
 
             long test = now;
             if (date[i] instanceof LocalDate || val instanceof LocalDate) {
-            	test = Instant.ofEpochMilli(now).atZone(ZoneId.systemDefault()).toLocalDate().atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli();
-			}
+                test = Instant.ofEpochMilli(now).atZone(ZoneId.systemDefault()).toLocalDate().atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli();
+            }
 
             assertEquals("Convert " + message[i] + " should return a " + date[0],
-            		test, getTimeInMillis(val));
+                    test, getTimeInMillis(val));
         }
     }
 
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/DurationConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/DurationConverterTestCase.java
index c133f79..c90be77 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/DurationConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/DurationConverterTestCase.java
@@ -80,15 +80,15 @@ public class DurationConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"PT20.345S",
-        	"PT15M",
-        	"PT51H4M"
+            "PT20.345S",
+            "PT15M",
+            "PT51H4M"
         };
 
         final Duration[] expected = {
-        		Duration.parse("PT20.345S"),
-        		Duration.parse("PT15M"),
-        		Duration.parse("P2DT3H4M")
+                Duration.parse("PT20.345S"),
+                Duration.parse("PT15M"),
+                Duration.parse("P2DT3H4M")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/EnumConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/EnumConverterTestCase.java
index f55ee3f..0e9476d 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/EnumConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/EnumConverterTestCase.java
@@ -70,15 +70,15 @@ public class EnumConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"DELIVERED",
-        	"ORDERED",
-        	"READY"
+            "DELIVERED",
+            "ORDERED",
+            "READY"
         };
 
         final PizzaStatus[] expected = {
-        	PizzaStatus.DELIVERED,
-        	PizzaStatus.ORDERED,
-        	PizzaStatus.READY
+            PizzaStatus.DELIVERED,
+            PizzaStatus.ORDERED,
+            PizzaStatus.READY
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/LocalTimeConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/LocalTimeConverterTestCase.java
index 0dea398..3d3deaa 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/LocalTimeConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/LocalTimeConverterTestCase.java
@@ -80,13 +80,13 @@ public class LocalTimeConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"10:15",
-        	"08:45:30"
+            "10:15",
+            "08:45:30"
         };
 
         final LocalTime[] expected = {
-        		LocalTime.parse("10:15"),
-        		LocalTime.parse("08:45:30")
+                LocalTime.parse("10:15"),
+                LocalTime.parse("08:45:30")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/MonthDayConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/MonthDayConverterTestCase.java
index 18106cc..25643d8 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/MonthDayConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/MonthDayConverterTestCase.java
@@ -80,15 +80,15 @@ public class MonthDayConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"--12-03",
-        	"--05-30",
-        	"--01-01"
+            "--12-03",
+            "--05-30",
+            "--01-01"
         };
 
         final MonthDay[] expected = {
-        		MonthDay.parse("--12-03"),
-        		MonthDay.parse("--05-30"),
-        		MonthDay.parse("--01-01")
+                MonthDay.parse("--12-03"),
+                MonthDay.parse("--05-30"),
+                MonthDay.parse("--01-01")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/OffsetTimeConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/OffsetTimeConverterTestCase.java
index 5db9d49..51918a3 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/OffsetTimeConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/OffsetTimeConverterTestCase.java
@@ -80,13 +80,13 @@ public class OffsetTimeConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"10:15+01:00",
-        	"08:45:30+14:00"
+            "10:15+01:00",
+            "08:45:30+14:00"
         };
 
         final OffsetTime[] expected = {
-        		OffsetTime.parse("10:15+01:00"),
-        		OffsetTime.parse("08:45:30+14:00")
+                OffsetTime.parse("10:15+01:00"),
+                OffsetTime.parse("08:45:30+14:00")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/PathConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/PathConverterTestCase.java
index 96a6969..1393990 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/PathConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/PathConverterTestCase.java
@@ -85,8 +85,8 @@ public class PathConverterTestCase extends TestCase {
         final String separator = File.pathSeparator;
 
         final Object[] input = {
-        	separator + "foo"+separator+"bar"+separator+"baz",
-        	separator
+            separator + "foo"+separator+"bar"+separator+"baz",
+            separator
         };
 
         final Path[] expected = {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/UUIDConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/UUIDConverterTestCase.java
index e59b945..4bb4931 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/UUIDConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/UUIDConverterTestCase.java
@@ -80,8 +80,8 @@ public class UUIDConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"123e4567-e89b-12d3-a456-556642440000",
-        	"7dc53df5-703e-49b3-8670-b1c468f47f1f"
+            "123e4567-e89b-12d3-a456-556642440000",
+            "7dc53df5-703e-49b3-8670-b1c468f47f1f"
         };
 
         final UUID[] expected = {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/YearConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/YearConverterTestCase.java
index ca05d85..284ce60 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/YearConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/YearConverterTestCase.java
@@ -80,15 +80,15 @@ public class YearConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"2019",
-        	"1974",
-        	"2112"
+            "2019",
+            "1974",
+            "2112"
         };
 
         final Year[] expected = {
-        		Year.parse("2019"),
-        		Year.parse("1974"),
-        		Year.parse("2112")
+                Year.parse("2019"),
+                Year.parse("1974"),
+                Year.parse("2112")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/YearMonthConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/YearMonthConverterTestCase.java
index 2722c5f..6ec30e4 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/YearMonthConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/YearMonthConverterTestCase.java
@@ -80,15 +80,15 @@ public class YearMonthConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"2007-12",
-        	"1974-05",
-        	"2112-01"
+            "2007-12",
+            "1974-05",
+            "2112-01"
         };
 
         final YearMonth[] expected = {
-        		YearMonth.parse("2007-12"),
-        		YearMonth.parse("1974-05"),
-        		YearMonth.parse("2112-01")
+                YearMonth.parse("2007-12"),
+                YearMonth.parse("1974-05"),
+                YearMonth.parse("2112-01")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/ZoneIdConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/ZoneIdConverterTestCase.java
index 29e08eb..0d41731 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/ZoneIdConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/ZoneIdConverterTestCase.java
@@ -80,15 +80,15 @@ public class ZoneIdConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"America/New_York",
-        	"-05:00",
-        	"Australia/Sydney"
+            "America/New_York",
+            "-05:00",
+            "Australia/Sydney"
         };
 
         final ZoneId[] expected = {
-        		ZoneId.of("America/New_York"),
-        		ZoneId.of("-05:00"),
-        		ZoneId.of("Australia/Sydney")
+                ZoneId.of("America/New_York"),
+                ZoneId.of("-05:00"),
+                ZoneId.of("Australia/Sydney")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/converters/ZoneOffsetConverterTestCase.java b/src/test/java/org/apache/commons/beanutils2/converters/ZoneOffsetConverterTestCase.java
index 653f088..d9b36a7 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/ZoneOffsetConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/ZoneOffsetConverterTestCase.java
@@ -80,15 +80,15 @@ public class ZoneOffsetConverterTestCase extends TestCase {
         };
 
         final Object[] input = {
-        	"-12:00",
-        	"+14:00",
-        	"+02:00"
+            "-12:00",
+            "+14:00",
+            "+02:00"
         };
 
         final ZoneOffset[] expected = {
-        		ZoneOffset.of("-12:00"),
-        		ZoneOffset.of("+14:00"),
-        		ZoneOffset.of("+02:00")
+                ZoneOffset.of("-12:00"),
+                ZoneOffset.of("+14:00"),
+                ZoneOffset.of("+02:00")
         };
 
         for(int i=0;i<expected.length;i++) {
diff --git a/src/test/java/org/apache/commons/beanutils2/locale/LocaleConvertUtilsTestCase.java b/src/test/java/org/apache/commons/beanutils2/locale/LocaleConvertUtilsTestCase.java
index 980a389..aba8f7d 100644
--- a/src/test/java/org/apache/commons/beanutils2/locale/LocaleConvertUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/locale/LocaleConvertUtilsTestCase.java
@@ -21,7 +21,6 @@ import java.sql.Date;
 import java.sql.Time;
 import java.sql.Timestamp;
 import java.text.NumberFormat;
-import java.util.Locale;
 
 import org.apache.commons.beanutils2.ConversionException;
 


Mime
View raw message