This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push: new 5be6f30e Normalize getter Javadoc 5be6f30e is described below commit 5be6f30e7a63687d0f751a3bf2414f3351d1b77d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Oct 31 06:44:30 2023 -0400 Normalize getter Javadoc --- .../configuration2/AbstractConfiguration.java | 4 +- .../commons/configuration2/BaseConfiguration.java | 2 +- .../commons/configuration2/ConfigurationUtils.java | 4 +- .../commons/configuration2/DataConfiguration.java | 166 ++++++++++----------- .../commons/configuration2/INIConfiguration.java | 6 +- .../interpol/ConfigurationInterpolator.java | 4 +- 6 files changed, 93 insertions(+), 93 deletions(-) diff --git a/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java b/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java index e6fdd6b7..05be78bf 100644 --- a/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java +++ b/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java @@ -926,7 +926,7 @@ public abstract class AbstractConfiguration extends BaseEventSource implements C } /** - * Get a list of properties associated with the given configuration key. + * Gets a list of properties associated with the given configuration key. * * @param key The configuration key. * @param defaults Any default values for the returned {@code Properties} object. Ignored if {@code null}. @@ -1173,7 +1173,7 @@ public abstract class AbstractConfiguration extends BaseEventSource implements C } /** - * Get an array of strings associated with the given configuration key. If the key doesn't map to an existing object, an + * Gets an array of strings associated with the given configuration key. If the key doesn't map to an existing object, an * empty array is returned. When a property is added to a configuration, it is checked whether it contains multiple * values. This is obvious if the added object is a list or an array. For strings the association * {@link ListDelimiterHandler} is consulted to find out whether the string can be split into multiple values. diff --git a/src/main/java/org/apache/commons/configuration2/BaseConfiguration.java b/src/main/java/org/apache/commons/configuration2/BaseConfiguration.java index 9beb0b22..f4a3d8fe 100644 --- a/src/main/java/org/apache/commons/configuration2/BaseConfiguration.java +++ b/src/main/java/org/apache/commons/configuration2/BaseConfiguration.java @@ -124,7 +124,7 @@ public class BaseConfiguration extends AbstractConfiguration implements Cloneabl } /** - * Get the list of the keys contained in the configuration repository. + * Gets the list of the keys contained in the configuration repository. * * @return An Iterator. */ diff --git a/src/main/java/org/apache/commons/configuration2/ConfigurationUtils.java b/src/main/java/org/apache/commons/configuration2/ConfigurationUtils.java index e4d8d8e9..22686f28 100644 --- a/src/main/java/org/apache/commons/configuration2/ConfigurationUtils.java +++ b/src/main/java/org/apache/commons/configuration2/ConfigurationUtils.java @@ -138,7 +138,7 @@ public final class ConfigurationUtils { } /** - * Get a string representation of the key/value mappings of a configuration. + * Gets a string representation of the key/value mappings of a configuration. * * @param configuration the configuration * @return a string representation of the configuration @@ -151,7 +151,7 @@ public final class ConfigurationUtils { } /** - * Get a string representation of the key/value mappings of a configuration. This version of the method exists only for + * Gets a string representation of the key/value mappings of a configuration. This version of the method exists only for * backwards compatibility reason. * * @param configuration the configuration diff --git a/src/main/java/org/apache/commons/configuration2/DataConfiguration.java b/src/main/java/org/apache/commons/configuration2/DataConfiguration.java index 5fde2902..b318cbd4 100644 --- a/src/main/java/org/apache/commons/configuration2/DataConfiguration.java +++ b/src/main/java/org/apache/commons/configuration2/DataConfiguration.java @@ -211,7 +211,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Boolean objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Boolean objects associated with the given configuration key. If the key doesn't map to an existing * object an empty list is returned. * * @param key The configuration key. @@ -224,7 +224,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Boolean objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Boolean objects associated with the given configuration key. If the key doesn't map to an existing * object, the default value is returned. * * @param key The configuration key. @@ -238,7 +238,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of boolean primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of boolean primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -251,7 +251,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of boolean primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of boolean primitives associated with the given configuration key. If the key doesn't map to an existing * object, the default value is returned. * * @param key The configuration key. @@ -265,7 +265,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Byte objects associated with the given configuration key. If the key doesn't map to an existing object + * Gets a list of Byte objects associated with the given configuration key. If the key doesn't map to an existing object * an empty list is returned. * * @param key The configuration key. @@ -278,7 +278,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Byte objects associated with the given configuration key. If the key doesn't map to an existing object, + * Gets a list of Byte objects associated with the given configuration key. If the key doesn't map to an existing object, * the default value is returned. * * @param key The configuration key. @@ -292,7 +292,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of byte primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of byte primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -305,7 +305,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of byte primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of byte primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -319,7 +319,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Short objects associated with the given configuration key. If the key doesn't map to an existing object + * Gets a list of Short objects associated with the given configuration key. If the key doesn't map to an existing object * an empty list is returned. * * @param key The configuration key. @@ -332,7 +332,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Short objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Short objects associated with the given configuration key. If the key doesn't map to an existing * object, the default value is returned. * * @param key The configuration key. @@ -346,7 +346,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of short primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of short primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -359,7 +359,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of short primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of short primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -373,7 +373,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Integer objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Integer objects associated with the given configuration key. If the key doesn't map to an existing * object an empty list is returned. * * @param key The configuration key. @@ -386,7 +386,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Integer objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Integer objects associated with the given configuration key. If the key doesn't map to an existing * object, the default value is returned. * * @param key The configuration key. @@ -400,7 +400,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of int primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of int primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -413,7 +413,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of int primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of int primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -427,7 +427,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Long objects associated with the given configuration key. If the key doesn't map to an existing object + * Gets a list of Long objects associated with the given configuration key. If the key doesn't map to an existing object * an empty list is returned. * * @param key The configuration key. @@ -440,7 +440,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Long objects associated with the given configuration key. If the key doesn't map to an existing object, + * Gets a list of Long objects associated with the given configuration key. If the key doesn't map to an existing object, * the default value is returned. * * @param key The configuration key. @@ -454,7 +454,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of long primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of long primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -467,7 +467,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of long primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of long primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -481,7 +481,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Float objects associated with the given configuration key. If the key doesn't map to an existing object + * Gets a list of Float objects associated with the given configuration key. If the key doesn't map to an existing object * an empty list is returned. * * @param key The configuration key. @@ -494,7 +494,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Float objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Float objects associated with the given configuration key. If the key doesn't map to an existing * object, the default value is returned. * * @param key The configuration key. @@ -508,7 +508,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of float primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of float primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -521,7 +521,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of float primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of float primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -535,7 +535,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Double objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Double objects associated with the given configuration key. If the key doesn't map to an existing * object an empty list is returned. * * @param key The configuration key. @@ -548,7 +548,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Double objects associated with the given configuration key. If the key doesn't map to an existing + * Gets a list of Double objects associated with the given configuration key. If the key doesn't map to an existing * object, the default value is returned. * * @param key The configuration key. @@ -562,7 +562,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of double primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of double primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -575,7 +575,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of double primitives associated with the given configuration key. If the key doesn't map to an existing + * Gets an array of double primitives associated with the given configuration key. If the key doesn't map to an existing * object an empty array is returned. * * @param key The configuration key. @@ -589,7 +589,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object + * Gets a list of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object * an empty list is returned. * * @param key The configuration key. @@ -602,7 +602,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object, + * Gets a list of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object, * the default value is returned. * * @param key The configuration key. @@ -616,7 +616,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object + * Gets an array of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object * an empty array is returned. * * @param key The configuration key. @@ -629,7 +629,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object + * Gets an array of BigIntegers associated with the given configuration key. If the key doesn't map to an existing object * an empty array is returned. * * @param key The configuration key. @@ -643,7 +643,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object + * Gets a list of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object * an empty list is returned. * * @param key The configuration key. @@ -656,7 +656,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object, + * Gets a list of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object, * the default value is returned. * * @param key The configuration key. @@ -670,7 +670,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object + * Gets an array of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object * an empty array is returned. * * @param key The configuration key. @@ -683,7 +683,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object + * Gets an array of BigDecimals associated with the given configuration key. If the key doesn't map to an existing object * an empty array is returned. * * @param key The configuration key. @@ -697,7 +697,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an URI associated with the given configuration key. + * Gets an URI associated with the given configuration key. * * @param key The configuration key. * @return The associated URI. @@ -709,7 +709,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an URI associated with the given configuration key. If the key doesn't map to an existing object, the default + * Gets an URI associated with the given configuration key. If the key doesn't map to an existing object, the default * value is returned. * * @param key The configuration key. @@ -723,7 +723,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of URIs associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of URIs associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -736,7 +736,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of URIs associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of URIs associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -750,7 +750,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of URIs associated with the given configuration key. If the key doesn't map to an existing object an empty + * Gets a list of URIs associated with the given configuration key. If the key doesn't map to an existing object an empty * list is returned. * * @param key The configuration key. @@ -763,7 +763,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of URIs associated with the given configuration key. If the key doesn't map to an existing object, the + * Gets a list of URIs associated with the given configuration key. If the key doesn't map to an existing object, the * default value is returned. * * @param key The configuration key. @@ -777,7 +777,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an URL associated with the given configuration key. + * Gets an URL associated with the given configuration key. * * @param key The configuration key. * @return The associated URL. @@ -789,7 +789,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an URL associated with the given configuration key. If the key doesn't map to an existing object, the default + * Gets an URL associated with the given configuration key. If the key doesn't map to an existing object, the default * value is returned. * * @param key The configuration key. @@ -803,7 +803,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of URLs associated with the given configuration key. If the key doesn't map to an existing object an empty + * Gets a list of URLs associated with the given configuration key. If the key doesn't map to an existing object an empty * list is returned. * * @param key The configuration key. @@ -816,7 +816,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of URLs associated with the given configuration key. If the key doesn't map to an existing object, the + * Gets a list of URLs associated with the given configuration key. If the key doesn't map to an existing object, the * default value is returned. * * @param key The configuration key. @@ -830,7 +830,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of URLs associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of URLs associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -843,7 +843,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of URLs associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of URLs associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -857,7 +857,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Date associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Date associated with the given configuration key. If the property is a String, it will be parsed with the * format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. * @@ -871,7 +871,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Date associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Date associated with the given configuration key. If the property is a String, it will be parsed with the * specified format pattern. * * @param key The configuration key. @@ -892,7 +892,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Date associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Date associated with the given configuration key. If the property is a String, it will be parsed with the * format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object, the default value is returned. * @@ -907,7 +907,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Date associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Date associated with the given configuration key. If the property is a String, it will be parsed with the * specified format pattern. If the key doesn't map to an existing object, the default value is returned. * * @param key The configuration key. @@ -931,7 +931,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets a list of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the specified format pattern. If the key doesn't map to an existing object an empty list is returned. * * @param key The configuration key. @@ -945,7 +945,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets a list of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object, the default value is returned. * @@ -960,7 +960,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets a list of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the specified format pattern. If the key doesn't map to an existing object, the default value is * returned. * @@ -981,7 +981,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object an empty array is returned. * @@ -995,7 +995,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the specified format pattern. If the key doesn't map to an existing object an empty array is returned. * * @param key The configuration key. @@ -1009,7 +1009,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object an empty array is returned. * @@ -1024,7 +1024,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be + * Gets an array of Dates associated with the given configuration key. If the property is a list of Strings, they will be * parsed with the specified format pattern. If the key doesn't map to an existing object, the default value is * returned. * @@ -1045,7 +1045,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the * format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. * @@ -1059,7 +1059,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the * specified format pattern. * * @param key The configuration key. @@ -1080,7 +1080,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the * format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with the * {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object, the default value is returned. * @@ -1095,7 +1095,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the + * Gets a Calendar associated with the given configuration key. If the property is a String, it will be parsed with the * specified format pattern. If the key doesn't map to an existing object, the default value is returned. * * @param key The configuration key. @@ -1115,7 +1115,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will + * Gets a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will * be parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with * the {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object an empty list is returned. * @@ -1129,7 +1129,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will + * Gets a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will * be parsed with the specified format pattern. If the key doesn't map to an existing object an empty list is returned. * * @param key The configuration key. @@ -1143,7 +1143,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will + * Gets a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will * be parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined with * the {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object, the default value is * returned. @@ -1159,7 +1159,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will + * Gets a list of Calendars associated with the given configuration key. If the property is a list of Strings, they will * be parsed with the specified format pattern. If the key doesn't map to an existing object, the default value is * returned. * @@ -1180,7 +1180,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Calendars associated with the given configuration key. If the property is a list of Strings, they + * Gets an array of Calendars associated with the given configuration key. If the property is a list of Strings, they * will be parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined * with the {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object an empty array is * returned. @@ -1195,7 +1195,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Calendars associated with the given configuration key. If the property is a list of Strings, they + * Gets an array of Calendars associated with the given configuration key. If the property is a list of Strings, they * will be parsed with the specified format pattern. If the key doesn't map to an existing object an empty array is * returned. * @@ -1210,7 +1210,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Calendars associated with the given configuration key. If the property is a list of Strings, they + * Gets an array of Calendars associated with the given configuration key. If the property is a list of Strings, they * will be parsed with the format defined by the user in the {@link #DATE_FORMAT_KEY} property, or if it's not defined * with the {@link #DEFAULT_DATE_FORMAT} pattern. If the key doesn't map to an existing object an empty array is * returned. @@ -1226,7 +1226,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Calendars associated with the given configuration key. If the property is a list of Strings, they + * Gets an array of Calendars associated with the given configuration key. If the property is a list of Strings, they * will be parsed with the specified format pattern. If the key doesn't map to an existing object, the default value is * returned. * @@ -1256,7 +1256,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Locale associated with the given configuration key. + * Gets a Locale associated with the given configuration key. * * @param key The configuration key. * @return The associated Locale. @@ -1268,7 +1268,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Locale associated with the given configuration key. If the key doesn't map to an existing object, the default + * Gets a Locale associated with the given configuration key. If the key doesn't map to an existing object, the default * value is returned. * * @param key The configuration key. @@ -1282,7 +1282,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Locales associated with the given configuration key. If the key doesn't map to an existing object an + * Gets a list of Locales associated with the given configuration key. If the key doesn't map to an existing object an * empty list is returned. * * @param key The configuration key. @@ -1295,7 +1295,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Locales associated with the given configuration key. If the key doesn't map to an existing object, the + * Gets a list of Locales associated with the given configuration key. If the key doesn't map to an existing object, the * default value is returned. * * @param key The configuration key. @@ -1309,7 +1309,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Locales associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of Locales associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -1322,7 +1322,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Locales associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of Locales associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -1336,7 +1336,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Color associated with the given configuration key. + * Gets a Color associated with the given configuration key. * * @param key The configuration key. * @return The associated Color. @@ -1348,7 +1348,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a Color associated with the given configuration key. If the key doesn't map to an existing object, the default + * Gets a Color associated with the given configuration key. If the key doesn't map to an existing object, the default * value is returned. * * @param key The configuration key. @@ -1362,7 +1362,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Colors associated with the given configuration key. If the key doesn't map to an existing object an + * Gets a list of Colors associated with the given configuration key. If the key doesn't map to an existing object an * empty list is returned. * * @param key The configuration key. @@ -1375,7 +1375,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get a list of Colors associated with the given configuration key. If the key doesn't map to an existing object, the + * Gets a list of Colors associated with the given configuration key. If the key doesn't map to an existing object, the * default value is returned. * * @param key The configuration key. @@ -1389,7 +1389,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Colors associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of Colors associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. @@ -1402,7 +1402,7 @@ public class DataConfiguration extends AbstractConfiguration { } /** - * Get an array of Colors associated with the given configuration key. If the key doesn't map to an existing object an + * Gets an array of Colors associated with the given configuration key. If the key doesn't map to an existing object an * empty array is returned. * * @param key The configuration key. diff --git a/src/main/java/org/apache/commons/configuration2/INIConfiguration.java b/src/main/java/org/apache/commons/configuration2/INIConfiguration.java index b2ef6e26..4d98cfe1 100644 --- a/src/main/java/org/apache/commons/configuration2/INIConfiguration.java +++ b/src/main/java/org/apache/commons/configuration2/INIConfiguration.java @@ -303,7 +303,7 @@ public class INIConfiguration extends BaseHierarchicalConfiguration implements F } /** - * Get separator used in INI output. see {@code setSeparatorUsedInOutput} for further explanation + * Gets separator used in INI output. see {@code setSeparatorUsedInOutput} for further explanation * * @return the current separator for writing the INI output * @since 2.2 @@ -333,7 +333,7 @@ public class INIConfiguration extends BaseHierarchicalConfiguration implements F } /** - * Get separator used in INI reading. see {@code setSeparatorUsedInInput} for further explanation + * Gets separator used in INI reading. see {@code setSeparatorUsedInInput} for further explanation * * @return the current separator for reading the INI input * @since 2.5 @@ -363,7 +363,7 @@ public class INIConfiguration extends BaseHierarchicalConfiguration implements F } /** - * Get comment leading separator used in INI reading. see {@code setCommentLeadingCharsUsedInInput} for further + * Gets comment leading separator used in INI reading. see {@code setCommentLeadingCharsUsedInInput} for further * explanation * * @return the current separator for reading the INI input diff --git a/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java b/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java index 2ba758c4..e22f5a4f 100644 --- a/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java +++ b/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java @@ -452,7 +452,7 @@ public class ConfigurationInterpolator { return substitutor.isEnableSubstitutionInVariables(); } - /** Get the function used to convert interpolated values to strings. + /** Gets the function used to convert interpolated values to strings. * @return function used to convert interpolated values to strings */ public Function<Object, String> getStringConverter() { @@ -630,7 +630,7 @@ public class ConfigurationInterpolator { } /** - * Get the default prefix lookups map. + * Gets the default prefix lookups map. * @return default prefix lookups map */ Map<String, Lookup> getDefaultPrefixLookups() {