File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -258,12 +258,14 @@ document.domReady.push(function() {domReadyHistory();});
258258 <%
259259 int count= 0 ;
260260 for (HistoryEntry entry : hist. getHistoryEntries(maxItems, startIndex)) {
261- final String dispRev = Optional . ofNullable(entry).
262- map(HistoryEntry :: getDisplayRevision).
261+ if (Objects . isNull(entry)) {
262+ continue ;
263+ }
264+
265+ final String dispRev = Optional . ofNullable(entry. getDisplayRevision()).
263266 map(Util :: htmlize).
264267 orElse(" " );
265- final String rev = Optional . ofNullable(entry).
266- map(HistoryEntry :: getRevision).
268+ final String rev = Optional . ofNullable(entry. getRevision()).
267269 orElse(" " );
268270
269271 String tags = hist. getTags(). get(rev);
You can’t perform that action at this time.
0 commit comments