Skip to content

Commit

Permalink
Space after if
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Homer <etiennehomer@gmail.com>
  • Loading branch information
etiennehomer committed Nov 4, 2024
1 parent c3bdd4f commit 355c498
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private static String removeExtension(String filename, String extension) {
int index = filename.lastIndexOf(extension);
if (index == -1) {
return filename;
} else if(index + extension.length() != filename.length()) {
} else if (index + extension.length() != filename.length()) {
//extension to remove is not at the end
throw CaseException.createIllegalCaseName(filename);
}
Expand Down

0 comments on commit 355c498

Please sign in to comment.