Skip to content

Commit

Permalink
. r delete dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsEckart committed Aug 12, 2024
1 parent bf30864 commit eade3a8
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import org.lambda.functions.Function3;

import java.io.File;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class InlineJavaReporter implements ApprovalFailureReporter, ApprovalReporterWithCleanUp
{
Expand Down Expand Up @@ -104,14 +102,7 @@ public static String indent(String actual, String tab)
}
return output;
}
private static String extractLeadingWhitespace(String text)
{
Pattern pattern = Pattern.compile("^\\s+");
Matcher matcher = pattern.matcher(text);
if (matcher.find())
{ return matcher.group(); }
return "\t";
}

@Override
public void cleanUp(String received, String approved)
{
Expand Down

0 comments on commit eade3a8

Please sign in to comment.