Skip to content

Commit

Permalink
fix style (rename variables)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Feb 21, 2025
1 parent cf4a214 commit 3ed9ab1
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2025, Oracle and/or its affiliates. All rights reserved.
* Portions Copyright (c) 2020, Aleksandr Kirillov <[email protected]>.
*/
package org.opengrok.indexer.configuration;
Expand Down Expand Up @@ -93,7 +93,7 @@ public String getBodyIncludeFileContent(boolean force) {
return body;
}

private transient String eforbidden_content = null;
private transient String eforbiddenContent = null;

/**
* Get the contents of the page for forbidden error page (403 Forbidden)
Expand All @@ -105,14 +105,14 @@ public String getBodyIncludeFileContent(boolean force) {
* @see Configuration#E_FORBIDDEN_INCLUDE_FILE
*/
public String getForbiddenIncludeFileContent(boolean force) {
if (eforbidden_content == null || force) {
eforbidden_content = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
if (eforbiddenContent == null || force) {
eforbiddenContent = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
Configuration.E_FORBIDDEN_INCLUDE_FILE));
}
return eforbidden_content;
return eforbiddenContent;
}

private transient String http_header = null;
private transient String httpHeader = null;

/**
* Get the contents of the HTTP header include file.
Expand All @@ -123,10 +123,10 @@ public String getForbiddenIncludeFileContent(boolean force) {
* @see Configuration#HTTP_HEADER_INCLUDE_FILE
*/
public String getHttpHeaderIncludeFileContent(boolean force) {
if (http_header == null || force) {
http_header = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
if (httpHeader == null || force) {
httpHeader = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
Configuration.HTTP_HEADER_INCLUDE_FILE));
}
return http_header;
return httpHeader;
}
}

0 comments on commit 3ed9ab1

Please sign in to comment.