We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2120ba1 commit 5ab108dCopy full SHA for 5ab108d
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java
@@ -1,5 +1,5 @@
1
/*******************************************************************************
2
- * Copyright (c) 2000, 2016 IBM Corporation and others.
+ * Copyright (c) 2000, 2021 IBM Corporation and others.
3
*
4
* This program and the accompanying materials
5
* are made available under the terms of the Eclipse Public License 2.0
@@ -355,7 +355,6 @@ void onPaint(GC gc) {
355
gc.setForeground(color);
356
gc.drawPolyline(line2);
357
gc.drawPolyline(line3);
358
- color.dispose();
359
360
// draw tail fading to background
361
int x1 = Math.max(0, curveStart - CURVE_TAIL);
0 commit comments