i18n: IDEA-249125 [appcode] swift: review fixes, added @NlsContexts.ProgressTitle

GitOrigin-RevId: 66dfca771f0249c929b3580fa7eb0188a835135c
This commit is contained in:
Aydar Mukhametzyanov
2020-09-07 13:11:11 +00:00
committed by intellij-monorepo-bot
parent 07e6777199
commit 95629c0874
@@ -440,7 +440,7 @@ public class FileUtilRt {
return fileName.subSequence(index + 1, fileName.length());
}
public static boolean extensionEquals(@NonNls @NotNull String filePath, @NonNls @NotNull String extension) {
public static boolean extensionEquals(@NotNull @NonNls String filePath, @NotNull @NonNls String extension) {
int extLen = extension.length();
if (extLen == 0) {
int lastSlash = Math.max(filePath.lastIndexOf('/'), filePath.lastIndexOf('\\'));