Skip to content

Commit ad8a45c

Browse files
committed
rename to match the return type
1 parent ea86eab commit ad8a45c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ public void setCurrentIndexedCollapseThreshold(int currentIndexedCollapseThresho
11771177
this.currentIndexedCollapseThreshold = currentIndexedCollapseThreshold;
11781178
}
11791179

1180-
public boolean getDisplayRepositories() {
1180+
public boolean isDisplayRepositories() {
11811181
return this.displayRepositories;
11821182
}
11831183

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,8 +1328,8 @@ public void setHistoryEnabled(boolean historyEnabled) {
13281328
syncWriteConfiguration(historyEnabled, Configuration::setHistoryEnabled);
13291329
}
13301330

1331-
public boolean getDisplayRepositories() {
1332-
return syncReadConfiguration(Configuration::getDisplayRepositories);
1331+
public boolean isDisplayRepositories() {
1332+
return syncReadConfiguration(Configuration::isDisplayRepositories);
13331333
}
13341334

13351335
public void setDisplayRepositories(boolean displayRepositories) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ include file="menu.jspf"
5555
</header>
5656
<div id="results">
5757
<%= PageConfig.get(request).getEnv().getIncludeFiles().getBodyIncludeFileContent(false) %>
58-
<% if (PageConfig.get(request).getEnv().getDisplayRepositories()) { %><%@
58+
<% if (PageConfig.get(request).getEnv().isDisplayRepositories()) { %><%@
5959
6060
include file="repos.jspf"
6161

0 commit comments

Comments
 (0)