Skip to content
Closed
Prev Previous commit
Next Next commit
[FOLLOWUP][SPARK-32121][SHUFFLE][TEST] fix checkstyle
  • Loading branch information
pan3793 committed Jun 29, 2020
commit 8cd8bd1708fd492db7583bfe3f0fcfe05fb8bb75
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ public class ExecutorDiskUtils {

private static final Pattern MULTIPLE_SEPARATORS;
static {
if (isWindows())
MULTIPLE_SEPARATORS= Pattern.compile("[/\\\\]+");
else
if (isWindows()) {
MULTIPLE_SEPARATORS = Pattern.compile("[/\\\\]+");
} else {
MULTIPLE_SEPARATORS = Pattern.compile("/{2,}");
}
}

/**
Expand Down