FileSnapshot: fix warnings - comment empty code block - suppress non-translatable text warning Change-Id: Id49b4a56bbe5454edfe1ea8b79ceeaf51ceac370
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 d752e31..7f34aed 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 @@ private static BasicFileAttributes getFileAttributes(File path) throws NoSuchEle } } } 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) {