Skip to content

Commit

Permalink
Refoctoring App.java
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuSoysal authored Apr 25, 2023
1 parent 64acf9a commit c1ef805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/mathieusoysal/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static void checkAllEnvVariables(String... envNames) throws EnvironementVariable
if (System.getenv(name) == null)
notFound.add(name);
}
if (notFound.size() > 0) {
if (!notFound.isEmpty()) {
throw new EnvironementVariableNotFoundException(notFound.toArray(new String[0]));
}
}
Expand Down

0 comments on commit c1ef805

Please sign in to comment.