Skip to content

Commit

Permalink
Address warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
petervdonovan committed May 26, 2023
1 parent de058fb commit 924a022
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions buildSrc/src/main/java/lfformat/LfFormatStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 924a022

Please sign in to comment.