Skip to content

Commit f1e3e2f

Browse files
committed
Make StatusLogger() ctor private
1 parent cd3fadb commit f1e3e2f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,7 @@ private static Properties readPropertiesFile() {
314314

315315
private final Queue<StatusData> buffer = new ConcurrentLinkedQueue<>();
316316

317-
/**
318-
* Constructs the default instance.
319-
* <b>Users should not create new instances, but use {@link #getLogger()} instead!</b>
320-
*
321-
* @since 2.23.0
322-
*/
323-
public StatusLogger() {
317+
private StatusLogger() {
324318
this(
325319
StatusLogger.class.getSimpleName(),
326320
ParameterizedNoReferenceMessageFactory.INSTANCE,

0 commit comments

Comments
 (0)