return result;
}
- private String readInputStream(String filePath, InputStream input) {
+ private static String readInputStream(String filePath, InputStream input) {
String result;
try {
result = IOUtils.toString(input, "UTF-8");
public TestInputFileBuilder setModuleBaseDir(Path moduleBaseDir) {
try {
- this.moduleBaseDir = moduleBaseDir.normalize().toRealPath(new LinkOption[] {LinkOption.NOFOLLOW_LINKS});
+ this.moduleBaseDir = moduleBaseDir.normalize().toRealPath(LinkOption.NOFOLLOW_LINKS);
} catch (IOException e) {
this.moduleBaseDir = moduleBaseDir.normalize();
}