diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2014-05-13 09:17:25 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-05-14 00:52:06 +0200 |
commit | 292cfab10d76fd372f76c672e96e9d168f8d7abf (patch) | |
tree | 2596b390977d38a58a2fb94e570fcad3eea35566 /org.eclipse.jgit.java7.test/src | |
parent | 392f1e70a8158e4f6721903c2c034cc22ce30228 (diff) | |
download | jgit-292cfab10d76fd372f76c672e96e9d168f8d7abf.tar.gz jgit-292cfab10d76fd372f76c672e96e9d168f8d7abf.zip |
Fix wrong Exception messages
In two places we threw an IOException and the message was built using
JGitText.couldNotWriteFile. We specified 2 parameters, but this pattern
expects only one parameter. In both places we tried to rename a file,
that's why we wanted two parameters (src and target) for the exception
text.
I changed it to use JGitText.renameFileFailed which accepts two
parameters and fits better.
Change-Id: Ib8c2cf78f2b26ca2b97754fe91fdb20b30392415
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.java7.test/src')
0 files changed, 0 insertions, 0 deletions