diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2019-02-15 16:46:37 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-02-18 00:14:35 +0100 |
commit | 03689063533ec7cffa1258eec7c2bb5295541611 (patch) | |
tree | 4a0a10646a7fcf444fefe5908014f8de902b8025 /org.eclipse.jgit.test | |
parent | e5c4057467e92f521ff1cf84f61ddefe3c97d3e4 (diff) | |
download | jgit-03689063533ec7cffa1258eec7c2bb5295541611.tar.gz jgit-03689063533ec7cffa1258eec7c2bb5295541611.zip |
CommitBuilder: Deprecate setEncoding(String)
Deprecate the method in favor of setEncoding(Charset).
Update the only caller in the code base that was still using
the deprecated variant.
Change-Id: I6357f2d0c727007013c72e9d5b7c72a3f5f3f2b1
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/T0003_BasicTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/T0003_BasicTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/T0003_BasicTest.java index 96caa01a9e..c6138495fc 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/T0003_BasicTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/T0003_BasicTest.java @@ -538,7 +538,7 @@ public class T0003_BasicTest extends SampleDataRepositoryTestCase { 4294967295000L, 60)); commit.setCommitter(new PersonIdent("Joe Hacker", "joe2@example.com", 4294967295000L, 60)); - commit.setEncoding("ISO-8859-1"); + commit.setEncoding(ISO_8859_1); commit.setMessage("\u00dcbergeeks"); ObjectId cid = insertCommit(commit); assertEquals("2979b39d385014b33287054b87f77bcb3ecb5ebf", cid.name()); |