code cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6518 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user