Skip to content

Commit 31fbf4b

Browse files
committed
rename for better readability
1 parent c73aa1a commit 31fbf4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opengrok-web/src/main/webapp/mast.jsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ org.opengrok.indexer.web.Util"%>
4444
return;
4545
}
4646
47-
String redir = cfg.canProcess();
48-
if (redir == null || !redir.isEmpty()) {
49-
if (redir == null) {
47+
String redirectLocation = cfg.canProcess();
48+
if (redirectLocation == null || !redirectLocation.isEmpty()) {
49+
if (redirectLocation == null) {
5050
response.sendError(HttpServletResponse.SC_NOT_FOUND);
5151
} else {
52-
response.sendRedirect(redir);
52+
response.sendRedirect(redirectLocation);
5353
}
5454
return;
5555
}

0 commit comments

Comments
 (0)