Skip to content

Commit 671ae16

Browse files
Remove comments
1 parent 20732ae commit 671ae16

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

server/src/main/java/org/elasticsearch/common/settings/SettingsUpdater.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ public synchronized ProjectMetadata updateProjectSettings(
136136
final Settings unknownOrInvalidSettings = partitionedSettings.v2();
137137
Settings.Builder builder = Settings.builder().put(knownAndValidPersistentSettings);
138138

139-
// TODO: apply only dynamic?
140139
boolean changed = scopedSettings.updateSettings(
141140
settingsToApply,
142141
builder,

server/src/test/java/org/elasticsearch/cluster/metadata/ProjectMetadataTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ static int expectedChunkCount(ToXContent.Params params, ProjectMetadata project)
668668
if (params.paramAsBoolean("multi-project", false)) {
669669
// 2 chunks for wrapping reserved state + 1 chunk for each item
670670
chunkCount += 2 + project.reservedStateMetadata().size();
671-
// 1 chunk for settings and 3 chunks for each setting
671+
// 1 chunk for settings
672672
chunkCount += 1;
673673
}
674674

0 commit comments

Comments
 (0)