diff --git a/undofx/src/main/java/org/fxmisc/undo/UndoManager.java b/undofx/src/main/java/org/fxmisc/undo/UndoManager.java index cf6023b..e05dcdd 100644 --- a/undofx/src/main/java/org/fxmisc/undo/UndoManager.java +++ b/undofx/src/main/java/org/fxmisc/undo/UndoManager.java @@ -60,28 +60,6 @@ interface UndoPosition { Val nextRedoProperty(); default C getNextRedo() { return nextRedoProperty().getValue(); } - /** - * Gives a peek at the change that will be undone by {@link #undo()}. - * - * @deprecated use {@link #nextUndoProperty()} - */ - @Deprecated - default Val nextToUndoProperty() { return nextUndoProperty(); } - - @Deprecated - default C getNextToUndo() { return nextUndoProperty().getValue(); } - - /** - * Gives a peek at the change that will be redone by {@link #redo()}. - * - * @deprecated use {@link #nextRedoProperty()} - */ - @Deprecated - default Val nextToRedoProperty() { return nextRedoProperty(); } - - @Deprecated - default C getNextToRedo() { return nextRedoProperty().getValue(); } - /** * Indicates whether there is a change that can be redone. */ diff --git a/undofx/src/main/java/org/fxmisc/undo/impl/UndoManagerImpl.java b/undofx/src/main/java/org/fxmisc/undo/impl/UndoManagerImpl.java index 5b2365d..39dddc2 100644 --- a/undofx/src/main/java/org/fxmisc/undo/impl/UndoManagerImpl.java +++ b/undofx/src/main/java/org/fxmisc/undo/impl/UndoManagerImpl.java @@ -179,17 +179,6 @@ public Val nextRedoProperty() { return nextRedo; } - - @Override - public Val nextToUndoProperty() { - return nextUndo; - } - - @Override - public Val nextToRedoProperty() { - return nextRedo; - } - @Override public boolean isUndoAvailable() { return nextUndo.isPresent();