Skip to content

Commit a44281b

Browse files
yulian-gaponenkoitext-teamcity
authored andcommitted
Remove deprecated PdfXrefTable#writeKeyInfo(PdfWriter writer) method
Autoported commit. Original commit hash: [3c8b55c8d]
1 parent a18ada5 commit a44281b

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

itext/itext.kernel/itext/kernel/pdf/PdfXrefTable.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -383,18 +383,6 @@ protected internal static void WriteKeyInfo(PdfDocument document) {
383383
}
384384
}
385385

386-
/// <exception cref="System.IO.IOException"/>
387-
[Obsolete]
388-
protected internal static void WriteKeyInfo(PdfWriter writer) {
389-
String platform = " for .NET";
390-
iText.Kernel.Version version = iText.Kernel.Version.GetInstance();
391-
String k = version.GetKey();
392-
if (k == null) {
393-
k = "iText";
394-
}
395-
writer.WriteString(MessageFormatUtil.Format("%{0}-{1}{2}\n", k, version.GetRelease(), platform));
396-
}
397-
398386
private void AppendNewRefToFreeList(PdfIndirectReference reference) {
399387
reference.SetOffset(0);
400388
if (freeReferencesLinkedList.IsEmpty<int, PdfIndirectReference>()) {

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f0024629850a2b0265e424919439f790c32250e2
1+
3c8b55c8d5584a465fd3171df95c34089461d234

0 commit comments

Comments
 (0)