code cleanup

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6518 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2008-09-26 20:00:51 +00:00
parent 4a60b812ec
commit a5ce52e470
2 changed files with 1 additions and 3 deletions
pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/src/net/sourceforge/pmd/ui/views

@ -352,7 +352,6 @@ public class DataflowGraph extends Composite {
}
int width = bounds.width-bounds.x;
int height = bounds.height-bounds.y;
if (index1 < index2) {
if (index2-index1 == 1) {

@ -540,7 +540,6 @@ public class DataflowGraphTable extends Composite implements PaintListener {
if (lineColor == null) lineColor = DEFAULT_LINE_COLOR;
g.setForeground(lineColor);
int hSpace = ((GridLayout) bodyArea.getLayout()).horizontalSpacing;
int tableX = tablePosition.x;
int tableY = tablePosition.y;
if (rowHeight == null)
@ -559,7 +558,7 @@ public class DataflowGraphTable extends Composite implements PaintListener {
}
// Create Lines for the Columns
// from Table's Heright to the Viewer's Height
// from Table's Height to the Viewer's Height
int viewHeight = bodyFrame.getSize().y;
if (viewHeight > tableSize.y) {
int yPos = tableY+tableSize.y;