diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-30 17:23:02 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-09-03 16:11:03 +0200 |
commit | 7650a68ad6419edbdd7018102f47a68342551e1b (patch) | |
tree | 2687dcf3e74f3c9ef1379843cefb3b513fb00599 | |
parent | 63348b21dbfdc002e48c92a4274576e8d1b85f1c (diff) | |
download | jgit-7650a68ad6419edbdd7018102f47a68342551e1b.tar.gz jgit-7650a68ad6419edbdd7018102f47a68342551e1b.zip |
Remove deprecated CommitBuilder#setEncoding(String) method
Change-Id: I5bd8d0c292151bfa58325d51ef51928715871cf1
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/CommitBuilder.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/CommitBuilder.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/CommitBuilder.java index ea33082229..ad3c2c091d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/CommitBuilder.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/CommitBuilder.java @@ -194,19 +194,6 @@ public class CommitBuilder extends ObjectBuilder { } } - /** - * Set the encoding for the commit information. - * - * @param encodingName - * the encoding name. See - * {@link java.nio.charset.Charset#forName(String)}. - * @deprecated use {@link #setEncoding(Charset)} instead. - */ - @Deprecated - public void setEncoding(String encodingName) { - setEncoding(Charset.forName(encodingName)); - } - @Override public byte[] build() throws UnsupportedEncodingException { ByteArrayOutputStream os = new ByteArrayOutputStream(); |