Skip to content

Commit

Permalink
Changes as per the PR comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhioncbr committed Dec 15, 2023
1 parent 3c9c15a commit e4d8e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static PropertiesConfiguration getPropertiesConfiguration(SegmentMetadata

public static void savePropertiesConfiguration(PropertiesConfiguration propertiesConfiguration, File indexDir) {
File metadataFile = SegmentDirectoryPaths.findMetadataFile(indexDir);
Preconditions.checkNotNull(metadataFile, "Cannot find segment metadata file under directory: %s", indexDir);
Preconditions.checkState(metadataFile != null, "Cannot find segment metadata file under directory: %s", indexDir);
CommonsConfigurationUtils.saveToFile(propertiesConfiguration, metadataFile);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private static PropertiesConfiguration createPropertiesConfiguration(boolean set

// setting DEFAULT_LIST_DELIMITER
if (setDefaultDelimiter) {
CommonsConfigurationUtils.setListDelimiterHandler(config);
setListDelimiterHandler(config);
}

return config;
Expand Down

0 comments on commit e4d8e96

Please sign in to comment.