GT-3222 - Fixed bugs in Data Type navigation that caused failure after

opening and archive for edit
This commit is contained in:
dragonmacher 2019-10-11 16:28:52 -04:00
parent 591ed4de31
commit 0b532431cd
9 changed files with 172 additions and 176 deletions

View file

@ -82,6 +82,10 @@ public class HistoryList<T> {
* True signals that this list will allow duplicate entries. False signals to not only not
* allow duplicates, but to also move the position of an item if it is re-added to the
* list.
*
* <p>For correct behavior when not allowing duplicates, ensure you have defined an
* <code>equals</code> method to work as you expect. If two different items are considered
* equal, then this class will only remove the duplicate if the equals method returns true.
*
* <p>The default is false
*
@ -162,7 +166,6 @@ public class HistoryList<T> {
* <p>No action is taken if the current pointer is already at the beginning of the list.
*/
public void goBack() {
if (historyIndex == 0) {
return;
}
@ -217,7 +220,7 @@ public class HistoryList<T> {
/**
* Get all items in the history that come after the current history item. They are
* returned in navigation order, as traversed if {@link #goForward() is called.
* returned in navigation order, as traversed if {@link #goForward()} is called.
*
* @return the items
*/