Fix multiple typos in documentation, as well as "thread.deamon" typo in actuator
This commit is contained in:
@@ -79,7 +79,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for embedding an extensible shell
|
||||
* into a Spring Boot enabled application. By default a SSH daemon is started on port
|
||||
* 2000. If the CRaSH Telnet plugin is available on the classpath, Telnet deamon will be
|
||||
* 2000. If the CRaSH Telnet plugin is available on the classpath, Telnet daemon will be
|
||||
* launched on port 5000.
|
||||
*
|
||||
* <p>
|
||||
|
||||
@@ -96,7 +96,7 @@ public class VanillaPublicMetrics implements PublicMetrics {
|
||||
ThreadMXBean threadMxBean = ManagementFactory.getThreadMXBean();
|
||||
result.add(new Metric<Long>("threads.peak", new Long(threadMxBean
|
||||
.getPeakThreadCount())));
|
||||
result.add(new Metric<Long>("threads.deamon", new Long(threadMxBean
|
||||
result.add(new Metric<Long>("threads.daemon", new Long(threadMxBean
|
||||
.getDaemonThreadCount())));
|
||||
result.add(new Metric<Long>("threads", new Long(threadMxBean.getThreadCount())));
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ public class VanillaPublicMetricsTests {
|
||||
assertTrue(results.containsKey("heap"));
|
||||
|
||||
assertTrue(results.containsKey("threads.peak"));
|
||||
assertTrue(results.containsKey("threads.deamon"));
|
||||
assertTrue(results.containsKey("threads.daemon"));
|
||||
assertTrue(results.containsKey("threads"));
|
||||
|
||||
assertTrue(results.containsKey("classes.loaded"));
|
||||
|
||||
Reference in New Issue
Block a user