Skip to content

Commit

Permalink
Update factory to use interface, not implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Jun 3, 2016
1 parent 4886398 commit e49ae99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.fxmisc.undo;

import org.fxmisc.undo.impl.nonlinear.DirectedAcyclicGraphImpl;
import org.fxmisc.undo.impl.nonlinear.DirectedAcyclicGraph;
import org.fxmisc.undo.impl.nonlinear.NonLinearUndoManagerImpl;
import org.fxmisc.undo.impl.nonlinear.UnlimitedNonLinearChangeQueue;
import org.fxmisc.undo.impl.nonlinear.ZeroSizeNonLinearChangeQueue;
Expand All @@ -13,7 +13,7 @@

public interface NonLinearUndoManagerFactory<C> {

DirectedAcyclicGraphImpl<C> getGraph();
DirectedAcyclicGraph<C> getGraph();

default UndoManager createUnlimited(
EventStream<C> changeStream,
Expand Down

0 comments on commit e49ae99

Please sign in to comment.