18
18
*/
19
19
20
20
/*
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.
22
22
* Portions Copyright (c) 2020, Aleksandr Kirillov <alexkirillovsamara@gmail.com>.
23
23
*/
24
24
package org .opengrok .indexer .configuration ;
@@ -93,7 +93,7 @@ public String getBodyIncludeFileContent(boolean force) {
93
93
return body ;
94
94
}
95
95
96
- private transient String eforbidden_content = null ;
96
+ private transient String eforbiddenContent = null ;
97
97
98
98
/**
99
99
* Get the contents of the page for forbidden error page (403 Forbidden)
@@ -105,14 +105,14 @@ public String getBodyIncludeFileContent(boolean force) {
105
105
* @see Configuration#E_FORBIDDEN_INCLUDE_FILE
106
106
*/
107
107
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 (),
110
110
Configuration .E_FORBIDDEN_INCLUDE_FILE ));
111
111
}
112
- return eforbidden_content ;
112
+ return eforbiddenContent ;
113
113
}
114
114
115
- private transient String http_header = null ;
115
+ private transient String httpHeader = null ;
116
116
117
117
/**
118
118
* Get the contents of the HTTP header include file.
@@ -123,10 +123,10 @@ public String getForbiddenIncludeFileContent(boolean force) {
123
123
* @see Configuration#HTTP_HEADER_INCLUDE_FILE
124
124
*/
125
125
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 (),
128
128
Configuration .HTTP_HEADER_INCLUDE_FILE ));
129
129
}
130
- return http_header ;
130
+ return httpHeader ;
131
131
}
132
132
}
0 commit comments