diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java index 126384b7a..4fa249226 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java @@ -520,9 +520,11 @@ else if (!ignoreCase * * @param ioe * @return a boolean true if the IOException is a Stale NFS FIle Handle + * @since 4.1 */ public static boolean isStaleFileHandle(IOException ioe) { String msg = ioe.getMessage(); - return msg != null && msg.toLowerCase().matches("stale .*file .*handle"); + return msg != null + && msg.toLowerCase().matches("stale .*file .*handle"); //$NON-NLS-1$ } }