aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.java7.test/src
diff options
context:
space:
mode:
authorChristian Halstrick <christian.halstrick@sap.com>2014-05-13 09:17:25 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2014-05-14 00:52:06 +0200
commit292cfab10d76fd372f76c672e96e9d168f8d7abf (patch)
tree2596b390977d38a58a2fb94e570fcad3eea35566 /org.eclipse.jgit.java7.test/src
parent392f1e70a8158e4f6721903c2c034cc22ce30228 (diff)
downloadjgit-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