(doc) Fix "construct" typo (#340)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
index e90f131..7cdbcd5 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
@@ -2767,7 +2767,7 @@
}
/**
- * Constuct a trace log event.
+ * Construct a trace log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2776,7 +2776,7 @@
return atLevel(Level.TRACE);
}
/**
- * Constuct a debug log event.
+ * Construct a debug log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2785,7 +2785,7 @@
return atLevel(Level.DEBUG);
}
/**
- * Constuct an informational log event.
+ * Construct an informational log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2794,7 +2794,7 @@
return atLevel(Level.INFO);
}
/**
- * Constuct a warning log event.
+ * Construct a warning log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2803,7 +2803,7 @@
return atLevel(Level.WARN);
}
/**
- * Constuct an error log event.
+ * Construct an error log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2812,7 +2812,7 @@
return atLevel(Level.ERROR);
}
/**
- * Constuct a fatal log event.
+ * Construct a fatal log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2821,7 +2821,7 @@
return atLevel(Level.FATAL);
}
/**
- * Constuct a fatal log event.
+ * Construct a fatal log event.
* @return a LogBuilder.
* @since 2.13.0
*/
@@ -2834,7 +2834,7 @@
return builder.reset(Level.OFF);
}
/**
- * Constuct a log event.
+ * Construct a log event.
* @return a LogBuilder.
* @since 2.13.0
*/
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/MulticastDnsAdvertiser.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/MulticastDnsAdvertiser.java
index 7d0cefe..fc7daf2 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/MulticastDnsAdvertiser.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/MulticastDnsAdvertiser.java
@@ -189,7 +189,7 @@
try {
jmDNSClass = LoaderUtil.loadClass("javax.jmdns.JmDNS");
serviceInfoClass = LoaderUtil.loadClass("javax.jmdns.ServiceInfo");
- // if version 3 is available, use it to constuct a serviceInfo instance, otherwise support the version1 API
+ // if version 3 is available, use it to construct a serviceInfo instance, otherwise support the version1 API
boolean isVersion3 = false;
try {
// create method is in version 3, not version 1