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();});
258
258
<%
259
259
int count= 0 ;
260
260
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()).
263
266
map(Util :: htmlize).
264
267
orElse(" " );
265
- final String rev = Optional . ofNullable(entry).
266
- map(HistoryEntry :: getRevision).
268
+ final String rev = Optional . ofNullable(entry. getRevision()).
267
269
orElse(" " );
268
270
269
271
String tags = hist. getTags(). get(rev);
You can’t perform that action at this time.
0 commit comments