diff --git a/scouter.client/src/scouter/client/util/RuntimeUtil.java b/scouter.client/src/scouter/client/util/RuntimeUtil.java index ae12ed1b3..9b49ae568 100644 --- a/scouter.client/src/scouter/client/util/RuntimeUtil.java +++ b/scouter.client/src/scouter/client/util/RuntimeUtil.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 the original author or authors. + * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,7 +25,7 @@ */ public class RuntimeUtil { - final static DecimalFormat memroyFormat = new DecimalFormat("#,##0.00 Mb"); + final static DecimalFormat memoryFormat = new DecimalFormat("#,##0.00 Mb"); final static double MB_Numeral = 1024d * 1024d; @@ -46,15 +46,15 @@ public static double getUsedMemoryInMb() { } public static String getTotalMemoryStringInMb() { - return memroyFormat.format(getTotalMemoryInMb()); + return memoryFormat.format(getTotalMemoryInMb()); } public static String getFreeMemoryStringInMb() { - return memroyFormat.format(getFreeMemoryInMb()); + return memoryFormat.format(getFreeMemoryInMb()); } public static String getUsedMemoryStringInMb() { - return memroyFormat.format(getUsedMemoryInMb()); + return memoryFormat.format(getUsedMemoryInMb()); } }