public static void createNewFile(File f) throws IOException {if (!f.createNewFile())throw new IOException(MessageFormat.format(JGitText.get().createNewFileFailed, f));}
public static void CreateNewFile(FilePath f){if (!f.CreateNewFile()){throw new IOException(MessageFormat.Format(JGitText.Get().createNewFileFailed, f));}}