File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 6666import jakarta .servlet .http .HttpServletRequest ;
6767import jakarta .servlet .http .HttpServletResponse ;
6868import jakarta .ws .rs .core .HttpHeaders ;
69+ import org .jetbrains .annotations .NotNull ;
6970import org .jetbrains .annotations .Nullable ;
7071import org .jetbrains .annotations .VisibleForTesting ;
7172import org .opengrok .indexer .Info ;
@@ -691,6 +692,7 @@ public EftarFileReader getEftarReader() {
691692 *
692693 * @return an empty string if not found, the tag otherwise.
693694 */
695+ @ NotNull
694696 public String getDefineTagsIndex () {
695697 if (dtag != null ) {
696698 return dtag ;
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ org.opengrok.web.PageConfig"
5050 return ;
5151 }
5252 String path = cfg. getPath();
53- String dtag = cfg. getDefineTagsIndex();
5453 response. setContentType(" text/xml" );
5554% > <?xml version =" 1.0" ?>
5655<?xml -stylesheet type =" text/xsl" href =" <%= request. getContextPath()
@@ -60,7 +59,7 @@ org.opengrok.web.PageConfig"
6059 <title >Changes in <%= path. isEmpty()
6160 ? " Cross Reference"
6261 : Util . htmlize(cfg. getResourceFile(). getName()) % > </title >
63- <description ><%= Util . htmlize(dtag ) % > </description >
62+ <description ><%= Util . htmlize(cfg . getDefineTagsIndex() ) % > </description >
6463 <language >en</language >
6564 <copyright >Copyright 2025</copyright >
6665 <generator >Java</generator ><%
You can’t perform that action at this time.
0 commit comments