diff --git a/buildSrc/src/main/java/lfformat/LfFormatStep.java b/buildSrc/src/main/java/lfformat/LfFormatStep.java index ca0b780383..babd3d8af1 100644 --- a/buildSrc/src/main/java/lfformat/LfFormatStep.java +++ b/buildSrc/src/main/java/lfformat/LfFormatStep.java @@ -67,7 +67,7 @@ private Step() throws IOException { @Override public String format( @SuppressWarnings("NullableProblems") String rawUnix, - @SuppressWarnings("NullableProblems") File file) + File file) throws IOException, InterruptedException { StringBuilder output = new StringBuilder(); try { @@ -119,15 +119,6 @@ private void initializeFormatter() throws IOException { error = new BufferedReader(new InputStreamReader(formatter.getErrorStream())); } - // /** Run the formatter on the given file and return the resulting process handle. */ - // private Process runFormatter(File file) throws IOException { - // // It looks silly to invoke Java from Java, but it is necessary in - // // order to break the circularity of needing the program to be built - // // in order for it to be built. - // var formatter = getFormatter(); - // return formatter; - // } - @SuppressWarnings("NullableProblems") @Override public String getName() {