Javadocs; one format nit.
@@ -47,7 +47,7 @@ import org.apache.logging.log4j.core.config.status.StatusConfiguration;
import org.apache.logging.log4j.util.LoaderUtil;
/**
- * Construct a configuration based on Log4j 1 properties.
+ * Constructs a configuration based on Log4j 1 properties.
*/
public class PropertiesConfiguration extends Log4j1Configuration {
@@ -68,7 +68,8 @@ public class PropertiesConfiguration extends Log4j1Configuration {
private final Map<String, Appender> registry = new HashMap<>();
/**
- * Constructor.
+ * Constructs a new instance.
+ *
* @param loggerContext The LoggerContext.
* @param source The ConfigurationSource.
* @param monitorIntervalSeconds The monitoring interval in seconds.
@@ -110,7 +111,7 @@ public class PropertiesConfiguration extends Log4j1Configuration {
}
/**
- * Read configuration from a file. <b>The existing configuration is
+ * Reads a configuration from a file. <b>The existing configuration is
* not cleared nor reset.</b> If you require a different behavior,
* then call {@link LogManager#resetConfiguration
* resetConfiguration} method before calling
@@ -327,7 +328,7 @@ public class PropertiesConfiguration extends Log4j1Configuration {
}
/**
- * Parse non-root elements, such non-root categories and renderers.
+ * Parses non-root elements, such non-root categories and renderers.
*/
private void parseLoggers(Properties props) {
Enumeration<?> enumeration = props.propertyNames();
@@ -353,7 +354,7 @@ public class PropertiesConfiguration extends Log4j1Configuration {
}
/**
- * Parse the additivity option for a non-root category.
+ * Parses the additivity option for a non-root category.
*/
private boolean getAdditivityForLogger(Properties props, String loggerName) {
boolean additivity = true;
