Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40ed0ad

Browse files
committed
Reformatted code
1 parent b13bbdd commit 40ed0ad

6 files changed

Lines changed: 198 additions & 207 deletions

File tree

proj1/src/cli/ClientInterface.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void main(String args[]) throws IOException, NotBoundException {
3636

3737
try {
3838
switch (operation.toUpperCase()) {
39-
case "BACKUP":
39+
case "BACKUP":
4040
filepath = args[2];
4141
replicationDegree = Integer.parseInt(args[3]);
4242
System.out.println("Requesting backup of file " + filepath + " with a replication degree of " + replicationDegree);
@@ -63,7 +63,7 @@ public static void main(String args[]) throws IOException, NotBoundException {
6363
default:
6464
break;
6565
}
66-
}catch (IllegalArgumentException e){
66+
} catch (IllegalArgumentException e) {
6767
System.err.println(e.getMessage());
6868
}
6969

0 commit comments

Comments
 (0)