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 66
66
import jakarta .servlet .http .HttpServletRequest ;
67
67
import jakarta .servlet .http .HttpServletResponse ;
68
68
import jakarta .ws .rs .core .HttpHeaders ;
69
+ import org .jetbrains .annotations .NotNull ;
69
70
import org .jetbrains .annotations .Nullable ;
70
71
import org .jetbrains .annotations .VisibleForTesting ;
71
72
import org .opengrok .indexer .Info ;
@@ -691,6 +692,7 @@ public EftarFileReader getEftarReader() {
691
692
*
692
693
* @return an empty string if not found, the tag otherwise.
693
694
*/
695
+ @ NotNull
694
696
public String getDefineTagsIndex () {
695
697
if (dtag != null ) {
696
698
return dtag ;
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ org.opengrok.web.PageConfig"
50
50
return ;
51
51
}
52
52
String path = cfg. getPath();
53
- String dtag = cfg. getDefineTagsIndex();
54
53
response. setContentType(" text/xml" );
55
54
% > <?xml version =" 1.0" ?>
56
55
<?xml -stylesheet type =" text/xsl" href =" <%= request. getContextPath()
@@ -60,7 +59,7 @@ org.opengrok.web.PageConfig"
60
59
<title >Changes in <%= path. isEmpty()
61
60
? " Cross Reference"
62
61
: Util . htmlize(cfg. getResourceFile(). getName()) % > </title >
63
- <description ><%= Util . htmlize(dtag ) % > </description >
62
+ <description ><%= Util . htmlize(cfg . getDefineTagsIndex() ) % > </description >
64
63
<language >en</language >
65
64
<copyright >Copyright 2025</copyright >
66
65
<generator >Java</generator ><%
You can’t perform that action at this time.
0 commit comments