Skip to content

Commit d4eeafe

Browse files
committed
spelling: width
Signed-off-by: Josh Soref <[email protected]>
1 parent 6e0bf63 commit d4eeafe

File tree

1 file changed

+2
-2
lines changed
  • visualvm/libs.profiler/profiler.snaptracer/src/org/graalvm/visualvm/lib/profiler/snaptracer/impl/timeline

1 file changed

+2
-2
lines changed

visualvm/libs.profiler/profiler.snaptracer/src/org/graalvm/visualvm/lib/profiler/snaptracer/impl/timeline/TimelineAxis.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ public void paint(Graphics g) {
402402
Iterator<Integer> iter = intervals.iterator();
403403
while (iter.hasNext()) {
404404
int start = iter.next();
405-
int wdth = iter.next() - start + 1;
406-
g.fillRect(start, height - 6, Math.min(wdth, width - start - 3), 3);
405+
int width = iter.next() - start + 1;
406+
g.fillRect(start, height - 6, Math.min(width, width - start - 3), 3);
407407
}
408408
}
409409

0 commit comments

Comments
 (0)