aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-12-15 20:51:34 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2024-12-15 20:51:34 +0100
commitfef56c3c81cce48819fdc8247203717d87ba17c9 (patch)
treea9eaa4acc8f74c0cf93080c4ca52eb7672addec4 /org.eclipse.jgit/src/org/eclipse
parentcdbea5ea96f7e473a48e6bff15e84ecccd521800 (diff)
downloadjgit-fef56c3c81cce48819fdc8247203717d87ba17c9.tar.gz
jgit-fef56c3c81cce48819fdc8247203717d87ba17c9.zip
FileSnapshot: fix warnings
- comment empty code block - suppress non-translatable text warning Change-Id: Id49b4a56bbe5454edfe1ea8b79ceeaf51ceac370
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileSnapshot.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileSnapshot.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileSnapshot.java
index d752e315db..7f34aed902 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileSnapshot.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileSnapshot.java
@@ -589,9 +589,10 @@ public class FileSnapshot {
}
}
} catch (NoSuchFileException e) {
+ // ignore
} catch (FileSystemException e) {
String msg = e.getMessage();
- if (!msg.endsWith("Not a directory")) {
+ if (!msg.endsWith("Not a directory")) { //$NON-NLS-1$
LOG.error(msg, e);
}
} catch (IOException e) {