Skip to content

Commit 1de9d12

Browse files
committed
Update Javadoc for MBeanTestUtils
1 parent ad60164 commit 1de9d12

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

spring-context/src/test/java/org/springframework/util/MBeanTestUtils.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,9 +27,8 @@
2727
public class MBeanTestUtils {
2828

2929
/**
30-
* Resets MBeanServerFactory and ManagementFactory to a known consistent state.
31-
* <p>This involves releasing all currently registered MBeanServers and resetting
32-
* the platformMBeanServer to null.
30+
* Resets {@link MBeanServerFactory} to a known consistent state.
31+
* <p>This involves releasing all currently registered MBeanServers.
3332
*/
3433
public static synchronized void resetMBeanServers() throws Exception {
3534
for (MBeanServer server : MBeanServerFactory.findMBeanServer(null)) {

0 commit comments

Comments
 (0)