# Deprecated API

## Contents

- Classes
- Fields
- Methods

- Deprecated Classes
  Class
  Description
  org.apache.commons.beanutils.converters.AbstractArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.BooleanArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.ByteArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.CharacterArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.DoubleArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.FloatArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.IntegerArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.LongArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.ShortArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.converters.StringArrayConverter
  Replaced by the new `ArrayConverter` implementation
  org.apache.commons.beanutils.DynaBeanMapDecorator
  Use `DynaBeanPropertyMapDecorator` instead. When adding generics it turned out that it was not possible to use the correct type parameters without breaking backwards compatibility. Therefore, class `DynaBeanPropertyMapDecorator` was introduced as a replacement.
  org.apache.commons.beanutils.locale.LocaleBeanUtils.Descriptor
  moved into `LocaleBeanUtils`
  org.apache.commons.beanutils.locale.LocaleBeanUtilsBean.Descriptor
  Property name expressions are now processed by the configured `Resolver` implementation and this class is no longer used by BeanUtils.

- Deprecated Fields
  Field
  Description
  org.apache.commons.beanutils.BeanMap.defaultTransformers
  Use `BeanMap.getTypeTransformer(Class)` method
  org.apache.commons.beanutils.ConversionException.cause
  Use `Throwable.getCause()`}.
  org.apache.commons.beanutils.converters.BooleanConverter.NO_DEFAULT
  Use constructors without default value.
  org.apache.commons.beanutils.PropertyUtils.INDEXED_DELIM
  The notation used for property name expressions is now dependant on the `Resolver` implementation being used.
  org.apache.commons.beanutils.PropertyUtils.INDEXED_DELIM2
  The notation used for property name expressions is now dependant on the `Resolver` implementation being used.
  org.apache.commons.beanutils.PropertyUtils.MAPPED_DELIM
  The notation used for property name expressions is now dependant on the `Resolver` implementation being used.
  org.apache.commons.beanutils.PropertyUtils.MAPPED_DELIM2
  The notation used for property name expressions is now dependant on the `Resolver` implementation being used.
  org.apache.commons.beanutils.PropertyUtils.NESTED_DELIM
  The notation used for property name expressions is now dependant on the `Resolver` implementation being used.
  org.apache.commons.beanutils.WrapDynaClass.beanClass
  No longer initialized, use getBeanClass() method instead
  org.apache.commons.beanutils.WrapDynaClass.dynaClasses
  The dynaClasses Map will be removed in a subsequent release

- Deprecated Methods
  Method
  Description
  org.apache.commons.beanutils.BeanUtils.getDebug()
  BeanUtils now uses commons-logging for all log messages. Use your favorite logging tool to configure logging for this class.
  org.apache.commons.beanutils.BeanUtils.initCause(Throwable, Throwable)
  Use `Throwable.initCause(Throwable)`.
  org.apache.commons.beanutils.BeanUtils.setDebug(int)
  BeanUtils now uses commons-logging for all log messages. Use your favorite logging tool to configure logging for this class.
  org.apache.commons.beanutils.BeanUtilsBean.initCause(Throwable, Throwable)
  Use `Throwable.initCause(Throwable)`.
  org.apache.commons.beanutils.ConvertUtils.getDefaultBoolean()
  Register replacement converters for Boolean.TYPE and Boolean.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultByte()
  Register replacement converters for Byte.TYPE and Byte.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultCharacter()
  Register replacement converters for Character.TYPE and Character.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultDouble()
  Register replacement converters for Double.TYPE and Double.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultFloat()
  Register replacement converters for Float.TYPE and Float.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultInteger()
  Register replacement converters for Integer.TYPE and Integer.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultLong()
  Register replacement converters for Long.TYPE and Long.class instead
  org.apache.commons.beanutils.ConvertUtils.getDefaultShort()
  Register replacement converters for Short.TYPE and Short.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultBoolean(boolean)
  Register replacement converters for Boolean.TYPE and Boolean.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultByte(byte)
  Register replacement converters for Byte.TYPE and Byte.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultCharacter(char)
  Register replacement converters for Character.TYPE and Character.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultDouble(double)
  Register replacement converters for Double.TYPE and Double.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultFloat(float)
  Register replacement converters for Float.TYPE and Float.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultInteger(int)
  Register replacement converters for Integer.TYPE and Integer.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultLong(long)
  Register replacement converters for Long.TYPE and Long.class instead
  org.apache.commons.beanutils.ConvertUtils.setDefaultShort(short)
  Register replacement converters for Short.TYPE and Short.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultBoolean()
  Register replacement converters for Boolean.TYPE and Boolean.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultByte()
  Register replacement converters for Byte.TYPE and Byte.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultCharacter()
  Register replacement converters for Character.TYPE and Character.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultDouble()
  Register replacement converters for Double.TYPE and Double.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultFloat()
  Register replacement converters for Float.TYPE and Float.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultInteger()
  Register replacement converters for Integer.TYPE and Integer.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultLong()
  Register replacement converters for Long.TYPE and Long.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.getDefaultShort()
  Register replacement converters for Short.TYPE and Short.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultBoolean(boolean)
  Register replacement converters for Boolean.TYPE and Boolean.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultByte(byte)
  Register replacement converters for Byte.TYPE and Byte.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultCharacter(char)
  Register replacement converters for Character.TYPE and Character.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultDouble(double)
  Register replacement converters for Double.TYPE and Double.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultFloat(float)
  Register replacement converters for Float.TYPE and Float.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultInteger(int)
  Register replacement converters for Integer.TYPE and Integer.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultLong(long)
  Register replacement converters for Long.TYPE and Long.class instead
  org.apache.commons.beanutils.ConvertUtilsBean.setDefaultShort(short)
  Register replacement converters for Short.TYPE and Short.class instead
  org.apache.commons.beanutils.locale.LocaleBeanUtils.calculate(Object, String)
  moved into `LocaleBeanUtilsBean`
  org.apache.commons.beanutils.locale.LocaleBeanUtilsBean.calculate(Object, String)
  Property name expressions are now processed by the configured `Resolver` implementation and this method is no longer used by BeanUtils.
  org.apache.commons.beanutils.locale.LocaleConvertUtils.create(Locale)
  This method will be modified to return a Map in the next release.
  org.apache.commons.beanutils.locale.LocaleConvertUtils.lookup(Locale)
  This method will be modified to return a Map in the next release.
  org.apache.commons.beanutils.locale.LocaleConvertUtilsBean.create(Locale)
  This method will be modified to return a Map in the next release.
  org.apache.commons.beanutils.locale.LocaleConvertUtilsBean.lookup(Locale)
  This method will be modified to return a Map in the next release.
  org.apache.commons.beanutils.PropertyUtils.getDebug()
  The `debug` static property is no longer used
  org.apache.commons.beanutils.PropertyUtils.getMappedPropertyDescriptors(Class<?>)
  This method should not be exposed
  org.apache.commons.beanutils.PropertyUtils.getMappedPropertyDescriptors(Object)
  This method should not be exposed
  org.apache.commons.beanutils.PropertyUtils.setDebug(int)
  The `debug` static property is no longer used
  org.apache.commons.beanutils.PropertyUtilsBean.getMappedPropertyDescriptors(Class<?>)
  This method should not be exposed
  org.apache.commons.beanutils.PropertyUtilsBean.getMappedPropertyDescriptors(Object)
  This method should not be exposed