Skip to content

Commit 4f21123

Browse files
committed
spelling: threshold
Signed-off-by: Josh Soref <[email protected]>
1 parent e83d1ca commit 4f21123

File tree

1 file changed

+2
-2
lines changed
  • visualvm/libs.profiler/profiler.heapwalker/src/org/graalvm/visualvm/lib/profiler/heapwalk/memorylint

1 file changed

+2
-2
lines changed

visualvm/libs.profiler/profiler.heapwalker/src/org/graalvm/visualvm/lib/profiler/heapwalk/memorylint/Histogram.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void add(String key, T entry) {
170170
}
171171
}
172172

173-
public String toString(int treshold) {
173+
public String toString(int threshold) {
174174
StringBuilder result = new StringBuilder();
175175
long totalSize = 0;
176176
int totalCount = 0;
@@ -179,7 +179,7 @@ public String toString(int treshold) {
179179
for (Map.Entry<String, T> entry : bySize.entrySet()) {
180180
long size = entry.getValue().getSize();
181181

182-
if (size > treshold) {
182+
if (size > threshold) {
183183
result.append(entry.getKey()).append(": ").append(entry.getValue()).append("<br>"); // NOI18N
184184
}
185185

0 commit comments

Comments
 (0)