Skip to content

Commit ccb039c

Browse files
Remove unused methods
1 parent b7f8ee3 commit ccb039c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

richtextfx/src/main/java/org/fxmisc/richtext/GenericStyledArea.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,18 +1407,10 @@ private Optional<Bounds> getRangeBoundsOnScreen(int paragraphIndex, int from, in
14071407
.map(c -> c.getNode().getRangeBoundsOnScreen(from, to));
14081408
}
14091409

1410-
private <T> void subscribeTo(EventStream<T> src, Consumer<T> cOnsumer) {
1411-
manageSubscription(src.subscribe(cOnsumer));
1412-
}
1413-
14141410
private void manageSubscription(Subscription subscription) {
14151411
subscriptions = subscriptions.and(subscription);
14161412
}
14171413

1418-
private void manageBinding(Binding<?> binding) {
1419-
subscriptions = subscriptions.and(binding::dispose);
1420-
}
1421-
14221414
private static Bounds extendLeft(Bounds b, double w) {
14231415
if(w == 0) {
14241416
return b;

0 commit comments

Comments
 (0)