diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/StashDropCommand.java | 2 | ||||
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/StashDropCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/StashDropCommand.java index e4431c37b1..6cbcd06735 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/StashDropCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/StashDropCommand.java @@ -219,7 +219,7 @@ public class StashDropCommand extends GitCommand<ObjectId> { FileUtils.delete(stashFile); if (!stashLockFile.renameTo(stashFile)) throw new JGitInternalException(MessageFormat.format( - JGitText.get().couldNotWriteFile, + JGitText.get().renameFileFailed, stashLockFile.getPath(), stashFile.getPath())); } } catch (IOException e) { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java index 5275b4c898..fdf8c052fe 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java @@ -1154,7 +1154,7 @@ public class DirCacheCheckout { FileUtils.rename(tmpFile, f); } catch (IOException e) { throw new IOException(MessageFormat.format( - JGitText.get().couldNotWriteFile, tmpFile.getPath(), + JGitText.get().renameFileFailed, tmpFile.getPath(), f.getPath())); } } |