File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
spring-context/src/test/java/org/springframework/util Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
27
27
public class MBeanTestUtils {
28
28
29
29
/**
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.
33
32
*/
34
33
public static synchronized void resetMBeanServers () throws Exception {
35
34
for (MBeanServer server : MBeanServerFactory .findMBeanServer (null )) {
You can’t perform that action at this time.
0 commit comments