# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods

- Deprecated Classes
  Class and Description
  org.apache.commons.configuration2.interpol.EnvironmentLookup Use `DefaultLookups.ENVIRONMENT`.
  org.apache.commons.configuration2.interpol.SystemPropertiesLookup Use `DefaultLookups.SYSTEM_PROPERTIES`.

- Deprecated Methods
  Method and Description
  org.apache.commons.configuration2.ImmutableConfiguration.getArray(Class<?>, String, Object) This method should not be used any more because its signature does not allow type-safe invocations; use `ImmutableConfiguration.get(Class, String, Object)` instead which offers the same functionality; for instance, to query for an array of ints use `int[] result = config.get(int[].class, "myArrayKey", someDefault);`.
  org.apache.commons.configuration2.PropertiesConfigurationLayout.getBlancLinesBefore(String) Use `PropertiesConfigurationLayout.getBlankLinesBefore(String)`.
  org.apache.commons.configuration2.plist.SimpleCharStream.getColumn()
  org.apache.commons.configuration2.plist.SimpleCharStream.getLine()
  org.apache.commons.configuration2.PropertiesConfigurationLayout.setBlancLinesBefore(String, int) use `PropertiesConfigurationLayout.setBlankLinesBefore(String, int)`.

Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.