Skip to content

Commit 4042e82

Browse files
author
Daniel Gredler
committed
8371066: Remove unused class TextSourceLabel and associated class hierarchy
Reviewed-by: prr, psadhukhan
1 parent e5a272a commit 4042e82

File tree

7 files changed

+169
-512
lines changed

7 files changed

+169
-512
lines changed

src/java.desktop/share/classes/java/awt/font/TextLine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ public static TextLineComponent[] createComponentsOnRun(int runStart,
10201020
}
10211021

10221022
TextLineComponent nextComponent =
1023-
factory.createExtended(font, cm, decorator, startPos, startPos + lmCount);
1023+
factory.createTextLabel(font, cm, decorator, startPos, startPos + lmCount);
10241024

10251025
++numComponents;
10261026
if (numComponents > components.length) {

src/java.desktop/share/classes/sun/font/Decoration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
/**
5555
* This class handles underlining, strikethrough, and foreground and
5656
* background styles on text. Clients simply acquire instances
57-
* of this class and hand them off to ExtendedTextLabels or GraphicComponents.
57+
* of this class and hand them off to ExtendedTextSourceLabels or
58+
* GraphicComponents.
5859
*/
5960
public class Decoration {
6061

src/java.desktop/share/classes/sun/font/ExtendedTextLabel.java

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)