use of com.synopsys.integration.configuration.property.types.path.TildeInPathResolver in project synopsys-detect by blackducksoftware.
the class DetectBootFactory method createPathResolver.
public PathResolver createPathResolver() {
PathResolver pathResolver;
if (detectInfo.getCurrentOs() != OperatingSystemType.WINDOWS) {
logger.info("Tilde's will be automatically resolved to USER HOME.");
pathResolver = new TildeInPathResolver(SystemUtils.USER_HOME);
} else {
pathResolver = new SimplePathResolver();
}
return pathResolver;
}
Aggregations