package de.retest.recheck.configuration;

import java.nio.file.Path;
import java.util.Optional;

public class ProjectConfigurationUtil {

	private ProjectConfigurationUtil() {}

	public static Optional<Path> findProjectConfigurationFolder() {
		return ProjectRootFinderUtil.getProjectRoot()
				.map( path -> path.resolve( ProjectConfiguration.RETEST_PROJECT_CONFIG_FOLDER ) );
	}

	public static Optional<Path> findProjectConfigurationFolder( final Path basePath ) {
		return ProjectRootFinderUtil.getProjectRoot( basePath )
				.map( path -> path.resolve( ProjectConfiguration.RETEST_PROJECT_CONFIG_FOLDER ) );
	}

	public static Optional<Path> findProjectConfigurationProperties() {
		return ProjectRootFinderUtil.getProjectRoot()
				.map( path -> path.resolve( ProjectConfiguration.RETEST_PROJECT_PROPERTIES ) );
	}

	public static Optional<Path> findProjectConfigurationProperties( final Path basePath ) {
		return ProjectRootFinderUtil.getProjectRoot( basePath )
				.map( path -> path.resolve( ProjectConfiguration.RETEST_PROJECT_PROPERTIES ) );
	}
}

@@ -612,448 +612,7 @@
 ;%0A%09%7D
-%0A%0A%09public static Optional%3CPath%3E findProjectConfigurationProperties() %7B%0A%09%09return ProjectRootFinderUtil.getProjectRoot()%0A%09%09%09%09.map( path -%3E path.resolve( ProjectConfiguration.RETEST_PROJECT_PROPERTIES ) );%0A%09%7D%0A%0A%09public static Optional%3CPath%3E findProjectConfigurationProperties( final Path basePath ) %7B%0A%09%09return ProjectRootFinderUtil.getProjectRoot( basePath )%0A%09%09%09%09.map( path -%3E path.resolve( ProjectConfiguration.RETEST_PROJECT_PROPERTIES ) );%0A%09%7D
 %0A%7D%0A

Remove unused method