Skip to content

Commit eade3a8

Browse files
committed
. r delete dead code
1 parent bf30864 commit eade3a8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

approvaltests/src/main/java/org/approvaltests/inline/InlineJavaReporter.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
import org.lambda.functions.Function3;
1010

1111
import java.io.File;
12-
import java.util.regex.Matcher;
13-
import java.util.regex.Pattern;
1412

1513
public class InlineJavaReporter implements ApprovalFailureReporter, ApprovalReporterWithCleanUp
1614
{
@@ -104,14 +102,7 @@ public static String indent(String actual, String tab)
104102
}
105103
return output;
106104
}
107-
private static String extractLeadingWhitespace(String text)
108-
{
109-
Pattern pattern = Pattern.compile("^\\s+");
110-
Matcher matcher = pattern.matcher(text);
111-
if (matcher.find())
112-
{ return matcher.group(); }
113-
return "\t";
114-
}
105+
115106
@Override
116107
public void cleanUp(String received, String approved)
117108
{

0 commit comments

Comments
 (0)