src: applied clang-format

This commit is contained in:
mlangkabel
2019-11-18 17:07:20 +01:00
parent 52058d9947
commit 078feca004
1100 changed files with 21382 additions and 20822 deletions
@@ -16,7 +16,8 @@ FilePath SourceGroupSettingsWithJavaMaven::getMavenProjectFilePath() const
FilePath SourceGroupSettingsWithJavaMaven::getMavenProjectFilePathExpandedAndAbsolute() const
{
return utility::getExpandedAndAbsolutePath(getMavenProjectFilePath(), getProjectSettings()->getProjectDirectoryPath());
return utility::getExpandedAndAbsolutePath(
getMavenProjectFilePath(), getProjectSettings()->getProjectDirectoryPath());
}
void SourceGroupSettingsWithJavaMaven::setMavenProjectFilePath(const FilePath& path)
@@ -36,18 +37,18 @@ void SourceGroupSettingsWithJavaMaven::setShouldIndexMavenTests(bool value)
bool SourceGroupSettingsWithJavaMaven::equals(const SourceGroupSettingsBase* other) const
{
const SourceGroupSettingsWithJavaMaven* otherPtr = dynamic_cast<const SourceGroupSettingsWithJavaMaven*>(other);
const SourceGroupSettingsWithJavaMaven* otherPtr =
dynamic_cast<const SourceGroupSettingsWithJavaMaven*>(other);
return (
otherPtr &&
m_mavenProjectFilePath == otherPtr->m_mavenProjectFilePath &&
m_shouldIndexMavenTests == otherPtr->m_shouldIndexMavenTests
);
otherPtr && m_mavenProjectFilePath == otherPtr->m_mavenProjectFilePath &&
m_shouldIndexMavenTests == otherPtr->m_shouldIndexMavenTests);
}
void SourceGroupSettingsWithJavaMaven::load(const ConfigManager* config, const std::string& key)
{
setMavenProjectFilePath(config->getValueOrDefault(key + "/maven/project_file_path", FilePath(L"")));
setMavenProjectFilePath(
config->getValueOrDefault(key + "/maven/project_file_path", FilePath(L"")));
setShouldIndexMavenTests(config->getValueOrDefault(key + "/maven/should_index_tests", false));
}