Skip to content

Commit f0e7b71

Browse files
SnipxiText-CI
authored andcommitted
Deprecate a bunch of unused constants in IoLogMessageConstant
Autoported commit. Original commit hash: [c38d84361]
1 parent d13733b commit f0e7b71

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

itext/itext.io/itext/io/logs/IoLogMessageConstant.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public sealed class IoLogMessageConstant {
7171
public const String CANNOT_ADD_HINTS_TO_FINISHED_PARENT = "Layout tagging hints addition failed: cannot add new kid hints to a parent which hint is already marked "
7272
+ "as finished. Consider using com.itextpdf.layout.tagging.LayoutTaggingHelper#replaceKidHint " + "method for replacing not yet finished kid hint of a finished parent hint.";
7373

74+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
7475
public const String CANNOT_ADD_KID_HINT_WHICH_IS_ALREADY_ADDED_TO_ANOTHER_PARENT = "Layout tagging hints addition failed: cannot add a kid hint to a new parent if it is already added to "
7576
+ "another parent. Consider using com.itextpdf.layout.tagging.LayoutTaggingHelper#moveHint method " +
7677
"instead.";
@@ -135,6 +136,7 @@ public sealed class IoLogMessageConstant {
135136

136137
public const String DOCUMENT_IDS_ARE_CORRUPTED = "The document original and/or modified id is corrupted";
137138

139+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
138140
public const String DOCUMENT_SERIALIZATION_EXCEPTION_RAISED = "Unhandled exception while serialization";
139141

140142
public const String DOCUMENT_VERSION_IN_CATALOG_CORRUPTED = "The document version specified in catalog is "
@@ -242,6 +244,7 @@ public const String IMAGE_HAS_INCORRECT_OR_UNSUPPORTED_BASE_COLOR_SPACE_IN_INDEX
242244

243245
public const String INLINE_BLOCK_ELEMENT_WILL_BE_CLIPPED = "Inline block element does not fit into parent element and will be clipped";
244246

247+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
245248
public const String INPUT_STREAM_CONTENT_IS_LOST_ON_PDFSTREAM_SERIALIZATION = "PdfStream contains not null input stream. It's content will be lost in serialized object.";
246249

247250
public const String INVALID_DISTRIBUTION_POINT = "Skipped CRL: {0}";
@@ -355,8 +358,10 @@ public const String IMAGE_HAS_INCORRECT_OR_UNSUPPORTED_BASE_COLOR_SPACE_IN_INDEX
355358

356359
public const String TABLE_WIDTH_IS_MORE_THAN_EXPECTED_DUE_TO_MIN_WIDTH = "Table width is more than expected due to min width of cell(s).";
357360

361+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
358362
public const String TAGGING_HINT_NOT_FINISHED_BEFORE_CLOSE = "Tagging hint wasn't finished before closing.";
359363

364+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
360365
public const String TAG_STRUCTURE_CONTEXT_WILL_BE_REINITIALIZED_ON_SERIALIZATION = "Tag structure context is not null and will be reinitialized in the copy of document. The copy may lose "
361366
+ "some data";
362367

@@ -376,16 +381,20 @@ public const String IMAGE_HAS_INCORRECT_OR_UNSUPPORTED_BASE_COLOR_SPACE_IN_INDEX
376381
+ "this means that element was added to the Canvas instance that was created not with constructor " +
377382
"taking PdfPage as argument. Not processed property: {0}";
378383

384+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
379385
public const String UNABLE_TO_INTERRUPT_THREAD = "Unable to interrupt a thread";
380386

381387
public const String UNABLE_TO_INVERT_GRADIENT_TRANSFORMATION = "Unable to invert gradient transformation, "
382388
+ "ignoring it";
383389

390+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
384391
public const String UNABLE_TO_REGISTER_EVENT_DATA_HANDLER_SHUTDOWN_HOOK = "Unable to register event data handler shutdown hook because of security reasons.";
385392

393+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
386394
public const String UNABLE_TO_SEARCH_FOR_EVENT_CONTEXT = "It is impossible to retrieve event context because of the security reasons. Event counting may behave in "
387395
+ "unexpected way";
388396

397+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
389398
public const String UNABLE_TO_UNREGISTER_EVENT_DATA_HANDLER_SHUTDOWN_HOOK = "Unable to unregister event data handler shutdown hook because of security permissions";
390399

391400
public const String UNEXPECTED_BEHAVIOUR_DURING_TABLE_ROW_COLLAPSING = "Unexpected behaviour during table row collapsing. Calculated rowspan was less then 1.";
@@ -396,6 +405,7 @@ public const String IMAGE_HAS_INCORRECT_OR_UNSUPPORTED_BASE_COLOR_SPACE_IN_INDEX
396405

397406
public const String UNKNOWN_COLOR_FORMAT_MUST_BE_RGB_OR_RRGGBB = "Unknown color format: must be rgb or rrggbb.";
398407

408+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
399409
public const String UNKNOWN_DIGEST_METHOD = "Unknown digest method. Valid values are MD5, SHA1 SHA256, SHA384, SHA512 and RIPEMD160.";
400410

401411
public const String UNKNOWN_ERROR_WHILE_PROCESSING_CMAP = "Unknown error while processing CMap.";
@@ -424,6 +434,7 @@ public const String IMAGE_HAS_INCORRECT_OR_UNSUPPORTED_BASE_COLOR_SPACE_IN_INDEX
424434

425435
public const String XFDF_NO_F_OBJECT_TO_COMPARE = "Xfdf no f object to compare.";
426436

437+
[System.ObsoleteAttribute(@"Unused constant. Will be removed in 7.3")]
427438
public const String XFDF_OUTPUT_STREAM_CORRUPTED = "Xfdf output stream is corrupted.";
428439

429440
public const String XFDF_UNSUPPORTED_ANNOTATION_ATTRIBUTE = "Xfdf unsupported attribute type";

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bcc3e2538ddc0b33ba540d3071996854d3ef0ad5
1+
c38d84361c80a306273915f4c8961abe3b37dbbe

0 commit comments

Comments
 (0)