package de.retest.recheck.ignore;

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

import de.retest.recheck.configuration.ProjectConfigurationUtil;

public class RecheckIgnoreUtil {

	public static final String RECHECK_IGNORE = "recheck.ignore";

	private RecheckIgnoreUtil() {

	}

	public static Optional<Path> getIgnoreFile() {
		final Path projectRoot = ProjectConfigurationUtil.findProjectConfiguration();
		final Path ignoreFile = projectRoot.resolve( RECHECK_IGNORE );

		if ( ignoreFile.toFile().exists() ) {
			return Optional.of( ignoreFile );
		}

		return Optional.empty();
	}
}

package de.retest.recheck.ignore;

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

import de.retest.recheck.configuration.ProjectConfigurationUtil;

public class RecheckIgnoreUtil {

	public static final String RECHECK_IGNORE = "recheck.ignore";

	private RecheckIgnoreUtil() {

	}

	public static Optional<Path> getIgnoreFile() {
		final Path projectConfig = ProjectConfigurationUtil.findProjectConfiguration();
		final Path ignoreFile = projectConfig.resolve( RECHECK_IGNORE );

		if ( ignoreFile.toFile().exists() ) {
			return Optional.of( ignoreFile );
		}

		return Optional.empty();
	}
}

Fix variable name