fix spelling

This commit is contained in:
kimchy 2011-07-13 08:12:02 +03:00
parent c2584baf86
commit 801c7e2483
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class JvmStats implements Streamable, Serializable, ToXContent {
memoryMXBean = ManagementFactory.getMemoryMXBean(); memoryMXBean = ManagementFactory.getMemoryMXBean();
threadMXBean = ManagementFactory.getThreadMXBean(); threadMXBean = ManagementFactory.getThreadMXBean();
boolean enableLastGc = Booleans.parseBoolean(System.getProperty("monitory.jvm.enable_last_gc"), false); boolean enableLastGc = Booleans.parseBoolean(System.getProperty("monitor.jvm.enable_last_gc"), false);
if (enableLastGc) { if (enableLastGc) {
try { try {
Class sunGcClass = Class.forName("com.sun.management.GarbageCollectorMXBean"); Class sunGcClass = Class.forName("com.sun.management.GarbageCollectorMXBean");