Skip to content

Commit 2d9f240

Browse files
committed
Inner class TextWriter in StyledText can be static
Done with JDT clean-up. Change-Id: I469a39f5d0c289922a8b5260d95343d97df28187 Signed-off-by: Lars Vogel <[email protected]> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/186595 Tested-by: Platform Bot <[email protected]>
1 parent bf471f9 commit 2d9f240

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ void writeStyledLine(String line, int lineOffset, int ranges[], StyleRange[] sty
10461046
* has been called.
10471047
* </p>
10481048
*/
1049-
class TextWriter {
1049+
static class TextWriter {
10501050
private StringBuilder buffer;
10511051
private int startOffset; // offset of first character that will be written
10521052
private int endOffset; // offset of last character that will be written.

0 commit comments

Comments
 (0)