Fix multiple typos in documentation, as well as "thread.deamon" typo in actuator

This commit is contained in:
Eric Dahl
2014-05-22 21:18:08 -05:00
parent d20ed65c61
commit 3457cc4f39
8 changed files with 15 additions and 15 deletions

View File

@@ -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>

View File

@@ -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())));
}

View File

@@ -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"));