Skip to content

Commit

Permalink
add a whitespace before if
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Jun 18, 2024
1 parent 9b8a0bc commit 90d3b33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

public class MissingResourceCauseTestRun {
public static void main(String[] args) throws Throwable {
if(Platform.isRoot() && !Platform.isWindows()) {
if (Platform.isRoot() && !Platform.isWindows()) {
throw new SkippedException("Unable to create an unreadable properties file.");
}
Path path = Paths.get("UnreadableRB.properties");
Expand Down Expand Up @@ -104,7 +104,7 @@ private static void runCmd() throws Throwable {
}

private static void deleteFile(Path path) throws Throwable {
if(path.toFile().exists()) {
if (path.toFile().exists()) {
ProcessTools.executeCommand("chmod", "666", path.toString())
.outputTo(System.out)
.errorTo(System.out)
Expand Down

0 comments on commit 90d3b33

Please sign in to comment.