Skip to content

Commit 3dfe610

Browse files
vogellaclaude
authored andcommitted
Remove unused drawBorder() method in CTabFolderRenderer
The drawBorder(GC, int[]) method that drew polyline-based tab borders is no longer called anywhere. Remove it as dead code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c83ed3c commit 3dfe610

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -594,15 +594,6 @@ void drawBackground(GC gc, int[] shape, int x, int y, int width, int height, Col
594594
}
595595
}
596596

597-
/*
598-
* Draw the border of the tab
599-
*/
600-
void drawBorder(GC gc, int[] shape) {
601-
602-
gc.setForeground(parent.getDisplay().getSystemColor(BORDER1_COLOR));
603-
gc.drawPolyline(shape);
604-
}
605-
606597
void drawBody(GC gc, Rectangle bounds, int state) {
607598
Point size = new Point(bounds.width, bounds.height);
608599
int selectedIndex = parent.selectedIndex;

0 commit comments

Comments
 (0)