8358970: CounterMonitorMBean.getDerivedGaugeTimeStamp() JavaDoc incorrectly documents null

Reviewed-by: sspitsyn, lmesnik
This commit is contained in:
Kevin Walls 2025-06-12 20:23:28 +00:00
parent 0dd7c69b9e
commit 523a4efe1c

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -97,7 +97,7 @@ public interface CounterMonitorMBean extends MonitorMBean {
* *
* @param object the MBean for which the derived gauge timestamp is to be returned * @param object the MBean for which the derived gauge timestamp is to be returned
* @return The derived gauge timestamp for the specified MBean if this MBean * @return The derived gauge timestamp for the specified MBean if this MBean
* is in the set of observed MBeans, or <code>null</code> otherwise. * is in the set of observed MBeans, or <code>0</code> otherwise.
* *
*/ */
public long getDerivedGaugeTimeStamp(ObjectName object); public long getDerivedGaugeTimeStamp(ObjectName object);