From cd075683e9759def8d4b228cd63f1c4c30a060e4 Mon Sep 17 00:00:00 2001 From: Min Date: Sun, 7 Apr 2024 23:15:59 +0900 Subject: [PATCH] Fix typo in RuntimeUtil --- .../src/scouter/client/util/RuntimeUtil.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()); } }