OpenJDK / zgc / zgc
changeset 36215:0bca9bba2f20
8150856: Inconsistent API documentation for @param caller in System.LoggerFinder.getLogger
Summary: @throws clause is correct; @param caller documentation fixed: caller must not be null.
Reviewed-by: martin
author | dfuchs |
---|---|
date | Tue, 01 Mar 2016 12:05:14 +0100 |
parents | 080d86e2ea6d |
children | dcee368a83a2 |
files | jdk/src/java.base/share/classes/java/lang/System.java |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/lang/System.java Tue Mar 01 09:48:49 2016 +0100 +++ b/jdk/src/java.base/share/classes/java/lang/System.java Tue Mar 01 12:05:14 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2016, 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 @@ -1418,8 +1418,7 @@ * for the given {@code caller}. * * @param name the name of the logger. - * @param caller the class for which the logger is being requested; - * can be {@code null}. + * @param caller the class for which the logger is being requested. * * @return a {@link Logger logger} suitable for the given caller's * use.