Skip to content

Commit

Permalink
Inline com.facebook.presto.matching.Util
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Mar 21, 2018
1 parent b82b165 commit 308f7a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
import com.facebook.presto.matching.pattern.TypeOfPattern;
import com.facebook.presto.matching.pattern.WithPattern;

import static com.google.common.base.Strings.repeat;
import static java.lang.String.format;

public class DefaultPrinter
implements PatternVisitor
{
Expand Down Expand Up @@ -70,6 +73,6 @@ public void visitFilter(FilterPattern<?> pattern)

private void appendLine(String template, Object... arguments)
{
result.append(Util.indent(level, template + "\n", arguments));
result.append(repeat("\t", level)).append(format(template + "\n", arguments));
}
}

This file was deleted.

0 comments on commit 308f7a2

Please sign in to comment.