We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 788b234 commit 6464e2fCopy full SHA for 6464e2f
opengrok-web/src/main/webapp/mast.jsp
@@ -18,7 +18,7 @@ information: Portions Copyright [yyyy] [name of copyright owner]
18
19
CDDL HEADER END
20
21
-Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2005, 2025, Oracle and/or its affiliates. All rights reserved.
22
Portions Copyright 2011 Jens Elkner.
23
Portions Copyright (c) 2018, Chris Fraire <[email protected]>.
24
@@ -45,7 +45,7 @@ org.opengrok.indexer.web.Util"%>
45
}
46
47
String redir = cfg.canProcess();
48
- if (redir == null || redir.length() > 0) {
+ if (redir == null || !redir.isEmpty()) {
49
if (redir == null) {
50
response.sendError(HttpServletResponse.SC_NOT_FOUND);
51
} else {
0 commit comments