PerTabHistory perTabHistory = (PerTabHistory) perTabHistoryMap.get(editorTabCookie);
if (perTabHistory != null && !perTabHistory.forwardEntries.isEmpty()) {
NavigationHistoryEntry newCurrent = (NavigationHistoryEntry) perTabHistory.forwardEntries
.removeFirst();
if (perTabHistory.currentEntry != null) {
final INavigationLocation location = perTabHistory.currentEntry.location;
if (location!=null) {
location.update();
}
perTabHistory.backwardEntries.addFirst(perTabHistory.currentEntry);
}
perTabHistory.currentEntry = newCurrent;
try {