Skip to content

Commit 5565ec6

Browse files
committed
rename for better readability
1 parent c087728 commit 5565ec6

File tree

1 file changed

+4
-4
lines changed
  • opengrok-web/src/main/webapp

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ org.opengrok.web.PageConfig"
4040
PageConfig cfg = PageConfig.get(request);
4141
cfg.checkSourceRootExistence();
4242
43-
String redir = cfg.canProcess();
44-
if (redir == null || !redir.isEmpty()) {
45-
if (redir != null) {
46-
response.sendRedirect(redir);
43+
String redirectLocation = cfg.canProcess();
44+
if (redirectLocation == null || !redirectLocation.isEmpty()) {
45+
if (redirectLocation != null) {
46+
response.sendRedirect(redirectLocation);
4747
} else {
4848
response.sendError(HttpServletResponse.SC_NOT_FOUND);
4949
}

0 commit comments

Comments
 (0)