mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8250221: Address use of default constructors in java.logging
Reviewed-by: lancea
This commit is contained in:
parent
6e198fec0b
commit
bb6647c845
2 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -39,6 +39,11 @@ package java.util.logging;
|
|||
public class ErrorManager {
|
||||
private boolean reported = false;
|
||||
|
||||
/**
|
||||
* Create an {@code ErrorManager}.
|
||||
*/
|
||||
public ErrorManager() {}
|
||||
|
||||
/*
|
||||
* We declare standard error codes for important categories of errors.
|
||||
*/
|
||||
|
|
|
@ -65,6 +65,11 @@ public class SimpleFormatter extends Formatter {
|
|||
private final String format =
|
||||
SurrogateLogger.getSimpleFormat(SimpleFormatter::getLoggingProperty);
|
||||
|
||||
/**
|
||||
* Create a {@code SimpleFormatter}.
|
||||
*/
|
||||
public SimpleFormatter() {}
|
||||
|
||||
/**
|
||||
* Format the given LogRecord.
|
||||
* <p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue