OpenJDK / amber / amber
changeset 60862:eb85b2d3b217
8242430: Correct links in javadoc of OperatingSystemMXBean
Reviewed-by: dholmes
author | dtitov |
---|---|
date | Fri, 10 Apr 2020 08:46:17 -0700 |
parents | 4a39a7ad717f |
children | 95dcd21d36dc |
files | src/jdk.management/share/classes/com/sun/management/OperatingSystemMXBean.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.management/share/classes/com/sun/management/OperatingSystemMXBean.java Fri Apr 10 10:05:33 2020 +0100 +++ b/src/jdk.management/share/classes/com/sun/management/OperatingSystemMXBean.java Fri Apr 10 08:46:17 2020 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -110,11 +110,11 @@ /** * Returns the total amount of physical memory in bytes. * - * @deprecated Use {@link #getMemorySize()} instead of + * @deprecated Use {@link #getTotalMemorySize()} instead of * this historically named method. * * @implSpec This implementation must return the same value - * as {@link #getMemorySize()}. + * as {@link #getTotalMemorySize()}. * * @return the total amount of physical memory in bytes. */