Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions scouter.client/src/scouter/client/util/RuntimeUtil.java
Original file line number Diff line number Diff line change
@@ -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");
Expand All @@ -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;

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

}