Skip to content

Commit 1e6861b

Browse files
committed
refactor: fixed spelling
1 parent ad4845d commit 1e6861b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/FileEncryptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static void main(String[] args) throws Exception {
4545
if (args.length < 1) { throw new IllegalArgumentException("Not Enough Argunments specified\n" + validCmdMsg); }
4646

4747
// Convert String arguments to char arrays
48-
char[][] charArgs = Util.getCharArgunments(args);
48+
char[][] charArgs = Util.getCharArguments(args);
4949

5050
// Clear String argunments
5151
Arrays.fill(args, null);

src/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static byte[] convertCharToByte(char[] chars) {
4141
* @param args String[] An array of strings
4242
* @return char[][] A 2-Dimensional character array
4343
*/
44-
public static final char[][] getCharArgunments(String[] args) {
44+
public static final char[][] getCharArguments(String[] args) {
4545
char[][] charArgs = new char[args.length][];
4646
for (int i = 0; i < args.length; i++) {
4747
charArgs[i] = args[i].toCharArray();

0 commit comments

Comments
 (0)