Skip to content

Commit

Permalink
Completed
Browse files Browse the repository at this point in the history
Signed-off-by: Rajvardhan Singh <[email protected]>
  • Loading branch information
invictus04 committed Jul 16, 2024
1 parent 2b5d271 commit 6d2aaae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private static Map<String, String> dockerfileToMap(String dockerFile) {
final Scanner scanner = new Scanner(dockerFile);
while (scanner.hasNextLine()) {
String line = scanner.nextLine();
if (line.trim().length() == 0) {
if (line.trim().isEmpty()) {
continue;
}
String[] commandAndArguments = line.trim().split("\\s+", 2);
Expand Down

0 comments on commit 6d2aaae

Please sign in to comment.