[vcs-log] minor: fix typo

This commit is contained in:
Julia Beliaeva
2016-10-26 17:02:03 +03:00
parent fafb0e959d
commit 69ea3ebfce
2 changed files with 2 additions and 2 deletions
@@ -208,7 +208,7 @@ public class GraphTableController {
public void showTooltip(int row) {
TableColumn rootColumn = myTable.getColumnModel().getColumn(GraphTableModel.ROOT_COLUMN);
Point point = new Point(rootColumn.getWidth() + myCommitRenderer.getToolipXCoordinate(row),
Point point = new Point(rootColumn.getWidth() + myCommitRenderer.getTooltipXCoordinate(row),
row * myTable.getRowHeight() + myTable.getRowHeight() / 2);
showTooltip(row, GraphTableModel.COMMIT_COLUMN, point, true);
}
@@ -213,7 +213,7 @@ public class GraphCommitCellRenderer extends ColoredTableCellRenderer {
return null;
}
public int getToolipXCoordinate(int row) {
public int getTooltipXCoordinate(int row) {
GraphCommitCell cell = getAssertCommitCell(myGraphTable.getModel().getValueAt(row, GraphTableModel.COMMIT_COLUMN));
Collection<VcsRef> refs = cell.getRefsToThisCommit();
if (!refs.isEmpty()) {