Skip to content

Commit 3ed9ab1

Browse files
committed
fix style (rename variables)
1 parent cf4a214 commit 3ed9ab1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/IncludeFiles.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2008, 2025, Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright (c) 2020, Aleksandr Kirillov <alexkirillovsamara@gmail.com>.
2323
*/
2424
package org.opengrok.indexer.configuration;
@@ -93,7 +93,7 @@ public String getBodyIncludeFileContent(boolean force) {
9393
return body;
9494
}
9595

96-
private transient String eforbidden_content = null;
96+
private transient String eforbiddenContent = null;
9797

9898
/**
9999
* Get the contents of the page for forbidden error page (403 Forbidden)
@@ -105,14 +105,14 @@ public String getBodyIncludeFileContent(boolean force) {
105105
* @see Configuration#E_FORBIDDEN_INCLUDE_FILE
106106
*/
107107
public String getForbiddenIncludeFileContent(boolean force) {
108-
if (eforbidden_content == null || force) {
109-
eforbidden_content = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
108+
if (eforbiddenContent == null || force) {
109+
eforbiddenContent = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
110110
Configuration.E_FORBIDDEN_INCLUDE_FILE));
111111
}
112-
return eforbidden_content;
112+
return eforbiddenContent;
113113
}
114114

115-
private transient String http_header = null;
115+
private transient String httpHeader = null;
116116

117117
/**
118118
* Get the contents of the HTTP header include file.
@@ -123,10 +123,10 @@ public String getForbiddenIncludeFileContent(boolean force) {
123123
* @see Configuration#HTTP_HEADER_INCLUDE_FILE
124124
*/
125125
public String getHttpHeaderIncludeFileContent(boolean force) {
126-
if (http_header == null || force) {
127-
http_header = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
126+
if (httpHeader == null || force) {
127+
httpHeader = getFileContent(new File(RuntimeEnvironment.getInstance().getIncludeRootPath(),
128128
Configuration.HTTP_HEADER_INCLUDE_FILE));
129129
}
130-
return http_header;
130+
return httpHeader;
131131
}
132132
}

0 commit comments

Comments
 (0)