Skip to content
Permalink
Browse files

8250221: Address use of default constructors in java.logging

Reviewed-by: lancea
  • Loading branch information
jddarcy committed Jul 23, 2020
1 parent 6e198fe commit bb6647c8456a9fd182844bbf91f813e082dddf27
@@ -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 @@
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 @@ static String getLoggingProperty(String name) {
private final String format =
SurrogateLogger.getSimpleFormat(SimpleFormatter::getLoggingProperty);

/**
* Create a {@code SimpleFormatter}.
*/
public SimpleFormatter() {}

/**
* Format the given LogRecord.
* <p>

0 comments on commit bb6647c

Please sign in to comment.
You can’t perform that action at this time.