mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-20 16:09:21 +00:00
8019315: Fix doclint issues in java.util.logging
Reviewed-by: lancea
This commit is contained in:
parent
f693157806
commit
a8bb269e47
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2013, 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
|
||||
@ -209,6 +209,7 @@ public abstract class Handler {
|
||||
/**
|
||||
* Retrieves the ErrorManager for this Handler.
|
||||
*
|
||||
* @return the ErrorManager for this Handler
|
||||
* @exception SecurityException if a security manager exists and if
|
||||
* the caller does not have <tt>LoggingPermission("control")</tt>.
|
||||
*/
|
||||
|
||||
@ -257,7 +257,8 @@ public class LogManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the global LogManager object.
|
||||
* Returns the global LogManager object.
|
||||
* @return the global LogManager object
|
||||
*/
|
||||
public static LogManager getLogManager() {
|
||||
if (manager != null) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2013, 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
|
||||
@ -211,6 +211,7 @@ public class LogRecord implements java.io.Serializable {
|
||||
* the message string before formatting it. The result may
|
||||
* be null if the message is not localizable, or if no suitable
|
||||
* ResourceBundle is available.
|
||||
* @return the localization resource bundle
|
||||
*/
|
||||
public ResourceBundle getResourceBundle() {
|
||||
return resourceBundle;
|
||||
@ -231,6 +232,7 @@ public class LogRecord implements java.io.Serializable {
|
||||
* This is the name for the ResourceBundle that should be
|
||||
* used to localize the message string before formatting it.
|
||||
* The result may be null if the message is not localizable.
|
||||
* @return the localization resource bundle name
|
||||
*/
|
||||
public String getResourceBundleName() {
|
||||
return resourceBundleName;
|
||||
@ -281,6 +283,7 @@ public class LogRecord implements java.io.Serializable {
|
||||
* <p>
|
||||
* Sequence numbers are normally assigned in the LogRecord constructor,
|
||||
* so it should not normally be necessary to use this method.
|
||||
* @param seq the sequence number
|
||||
*/
|
||||
public void setSequenceNumber(long seq) {
|
||||
sequenceNumber = seq;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user