From a42f9491b5f01846352c0b3e808524f416b3d2a0 Mon Sep 17 00:00:00 2001 From: Lukas Vlcek Date: Sun, 24 Feb 2013 07:47:25 +0100 Subject: [PATCH] fix typo in exception --- .../elasticsearch/monitor/dump/heap/HeapDumpContributor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/monitor/dump/heap/HeapDumpContributor.java b/src/main/java/org/elasticsearch/monitor/dump/heap/HeapDumpContributor.java index e94eb2b5943..56119ffb18a 100644 --- a/src/main/java/org/elasticsearch/monitor/dump/heap/HeapDumpContributor.java +++ b/src/main/java/org/elasticsearch/monitor/dump/heap/HeapDumpContributor.java @@ -66,7 +66,7 @@ public class HeapDumpContributor implements DumpContributor { @Override public void contribute(Dump dump) throws DumpContributionFailedException { if (heapDumpMethod == null) { - throw new DumpContributionFailedException(getName(), "Heap dump not enalbed on this JVM"); + throw new DumpContributionFailedException(getName(), "Heap dump not enabled on this JVM"); } try { heapDumpMethod.invoke(diagnosticMBean, dump.createFile("heap.hprof").getAbsolutePath(), true);