public final void undo() { if (!applied) { throw new RuntimeException( "Attempt to undo edit that was never applied"); } ProcessorImpl pia = (ProcessorImpl) processors.getA(); ProcessorImpl pib = (ProcessorImpl) processors.getB(); synchronized (processors) { undoEditAction(pia, pib); applied = false; } }
public final void undo() { if (!applied) { throw new RuntimeException( "Attempt to undo edit that was never applied"); } ProcessorImpl pia = (ProcessorImpl) processors.getA(); ProcessorImpl pib = (ProcessorImpl) processors.getB(); synchronized (processors) { undoEditAction(pia, pib); applied = false; } }
public final void undo() { if (!applied) { throw new RuntimeException( "Attempt to undo edit that was never applied"); } ProcessorImpl pia = (ProcessorImpl) processors.getA(); ProcessorImpl pib = (ProcessorImpl) processors.getB(); synchronized (processors) { undoEditAction(pia, pib); applied = false; } }