Skip to content

Commit 17f3777

Browse files
modify Find javadoc
1 parent bb184a2 commit 17f3777

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/command_decorators/Redirection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private String removeError(String result, String error) {
100100
lastIndex ++;
101101
}
102102
result = result.substring(0, startIndex)
103-
+ result.substring(lastIndex, result.length());
103+
+ result.substring(lastIndex);
104104
}
105105
return result;
106106

src/main/java/commands/Find.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public Find() {
2424
/**
2525
* Searches for the file or directory in a given path
2626
* @param shellState is the current state of JShell program
27-
* @param arguments is the path/s,type and name of file/directory
27+
* @param arguments includes all of: [file_path], --type [f/d], --name [file_name]
2828
* @throws Exception if path, type or name is invalid
2929
*
3030
*/

0 commit comments

Comments
 (0)