Skip to content

Commit ac915e4

Browse files
fedejeanneakurtakov
authored andcommitted
Fix test broken by previous PR
The test is: org.eclipse.jdt.core.tests.formatter.FormatterCommentsTests.testWkspEclipse26 It was broken in the I-BUILDs by eclipse-jdt#5002. Contributes to eclipse-platform/eclipse.platform.swt#3233
1 parent c5c2ffb commit ac915e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • org.eclipse.jdt.core.tests.model/workspace/FormatterJavadoc/test/wksp/eclipse/out/clear_blank_lines

org.eclipse.jdt.core.tests.model/workspace/FormatterJavadoc/test/wksp/eclipse/out/clear_blank_lines/X26.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Here is an example of using a ControlEditor: <code><pre>
1111
* Canvas canvas = new Canvas(shell, SWT.BORDER);
1212
* canvas.setBounds(10, 10, 300, 300);
13-
* Color color = new Color(null, 255, 0, 0);
13+
* Color color = new Color(255, 0, 0);
1414
* canvas.setBackground(color);
1515
* ControlEditor editor = new ControlEditor (canvas);
1616
* // The editor will be a button in the bottom right corner of the canvas.
@@ -25,7 +25,7 @@
2525
* RGB rgb = dialog.getRGB();
2626
* if (rgb != null) {
2727
* if (color != null) color.dispose();
28-
* color = new Color(null, rgb);
28+
* color = new Color(rgb);
2929
* canvas.setBackground(color);
3030
* }
3131
*

0 commit comments

Comments
 (0)