Revision: 5295 http://sourceforge.net/p/jump-pilot/code/5295 Author: edso Date: 2016-12-29 17:32:49 +0000 (Thu, 29 Dec 2016) Log Message: ----------- disable unneeded asserts
Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/workbench/model/UndoableEditReceiver.java Modified: core/trunk/src/com/vividsolutions/jump/workbench/model/UndoableEditReceiver.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/workbench/model/UndoableEditReceiver.java 2016-12-29 12:25:19 UTC (rev 5294) +++ core/trunk/src/com/vividsolutions/jump/workbench/model/UndoableEditReceiver.java 2016-12-29 17:32:49 UTC (rev 5295) @@ -80,7 +80,7 @@ * undo history will be truncated. */ public void reportNothingToUndoYet() { - Assert.isTrue(isReceiving()); + //Assert.isTrue(isReceiving()); setNothingToUndoReported(true); } @@ -90,7 +90,7 @@ * of an UndoableCommand, leaving it partially complete and non-unexecutable. */ public void reportIrreversibleChange() { - Assert.isTrue(isReceiving()); + //Assert.isTrue(isReceiving()); irreversibleChangeReported = true; } @@ -141,7 +141,7 @@ * it should simply not call this method; the undo history will be cleared. */ public void receive(UndoableEdit undoableEdit) { - Assert.isTrue(isReceiving()); + //Assert.isTrue(isReceiving()); //Don't add the UndoableEdit to the UndoManager right away; the caller may //call #clearNewUndoableEdits. [Jon Aquino] ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel