Skip to content

Commit

Permalink
Update java-function-are-here.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Tidy-Coder authored Aug 6, 2024
1 parent 2e68e9d commit 686b9b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/java-function-are-here.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ public boolean clear(String tidyPath){
if(this.isFile(tidyPath)){
this.delete(tidyPath);
this.createFile(tidyPath);
return true;
}
else if(this.isFolder(tidyPath)){
this.delete(tidyPath);
this.createFolder(tidyPath);
return true;
}
return false;
}
}

0 comments on commit 686b9b3

Please sign in to comment.