Skip to content

Commit

Permalink
Fix format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sashirestela committed Jul 21, 2024
1 parent 4590b04 commit 4421489
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ public void splitSourceFile() throws IOException {
String fullFileName;
String chunkSizeMB;

while ((fullFileName = System.console().readLine("Enter the full file name to upload: ")).isBlank());
while ((chunkSizeMB = System.console().readLine("Enter the chunk size in MB: ")).isBlank());
while ((splitPath = System.console().readLine("Enter the path to put splittings: ")).isBlank());
while ((fullFileName = System.console().readLine("Enter the full file name to upload: ")).isBlank())
;
while ((chunkSizeMB = System.console().readLine("Enter the chunk size in MB: ")).isBlank())
;
while ((splitPath = System.console().readLine("Enter the path to put splittings: ")).isBlank())
;
File sourceFile = new File(fullFileName);
fileName = sourceFile.getName();
mimeType = Files.probeContentType(Path.of(fullFileName));
Expand Down

0 comments on commit 4421489

Please sign in to comment.