Skip to content

Commit c262a8c

Browse files
BezrukovMiText-CI
authored andcommitted
Marked cleanup constants as deprecated
DEVSIX-1908
1 parent be68535 commit c262a8c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

io/src/main/java/com/itextpdf/io/LogMessageConstant.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ public final class LogMessageConstant {
9191
public static final String EXISTING_TAG_STRUCTURE_ROOT_IS_NOT_STANDARD = "Existing tag structure of the document has a root of \"{0}\" role in \"{1}\" namespace that is not mapped to the standard role.";
9292
public static final String FAILED_TO_DETERMINE_CID_FONT_SUBTYPE = "Failed to determine CIDFont subtype. The type of CIDFont shall be CIDFontType0 or CIDFontType2.";
9393
public static final String FAILED_TO_PARSE_ENCODING_STREAM = "Failed to parse encoding stream.";
94+
/**
95+
* @deprecated Moved into cleanup module
96+
* The constant will be removed in 7.2.
97+
*/
98+
@Deprecated
9499
public static final String FAILED_TO_PROCESS_A_TRANSFORMATION_MATRIX = "Failed to process a transformation matrix which is noninvertible. Some content may be placed not as expected.";
95100
public static final String FILE_CHANNEL_CLOSING_FAILED = "Closing of the file channel this source is based on failed.";
96101
public static final String FLUSHED_OBJECT_CONTAINS_FREE_REFERENCE = "Flushed object contains indirect reference which is free. Null object will be written instead.";
@@ -113,6 +118,11 @@ public final class LogMessageConstant {
113118
public static final String IMAGE_HAS_JBIG2DECODE_FILTER = "Image cannot be inline if it has JBIG2Decode filter. It will be added as an ImageXObject";
114119
public static final String IMAGE_HAS_JPXDECODE_FILTER = "Image cannot be inline if it has JPXDecode filter. It will be added as an ImageXObject";
115120
public static final String IMAGE_HAS_MASK = "Image cannot be inline if it has a Mask";
121+
/**
122+
* @deprecated Moved into cleanup module
123+
* The constant will be removed in 7.2.
124+
*/
125+
@Deprecated
116126
public static final String IMAGE_MASK_CLEAN_UP_NOT_SUPPORTED = "Partial clean up of transparent images with mask encoded with one of the following filters is not supported: JBIG2Decode, DCTDecode, JPXDecode. Image will become non-transparent.";
117127
public static final String IMAGE_SIZE_CANNOT_BE_MORE_4KB = "Inline image size cannot be more than 4KB. It will be added as an ImageXObject";
118128
public static final String INCORRECT_PAGEROTATION = "Encounterd a page rotation that was not a multiple of 90°/ (Pi/2) when generating default appearances for form fields";
@@ -150,6 +160,11 @@ public final class LogMessageConstant {
150160
public static final String PROPERTY_IN_PERCENTS_NOT_SUPPORTED = "Property {0} in percents is not supported";
151161
public static final String RECTANGLE_HAS_NEGATIVE_OR_ZERO_SIZES = "The {0} rectangle has negative or zero sizes. It will not be displayed.";
152162
public static final String RECTANGLE_HAS_NEGATIVE_SIZE = "The {0} rectangle has negative size. It will not be displayed.";
163+
/**
164+
* @deprecated Moved into cleanup module
165+
* The constant will be removed in 7.2.
166+
*/
167+
@Deprecated
153168
public static final String REDACTION_OF_ANNOTATION_TYPE_WATERMARK_IS_NOT_SUPPORTED = "Redaction of annotation subtype /Watermark is not supported";
154169
public static final String REMOVING_PAGE_HAS_ALREADY_BEEN_FLUSHED = "The removing page has already been flushed.";
155170
public static final String RENDERER_WAS_NOT_ABLE_TO_PROCESS_KEEP_WITH_NEXT = "The renderer was not able to process keep with next property properly";
@@ -197,4 +212,4 @@ public final class LogMessageConstant {
197212
@Deprecated
198213
public static final String XREF_ERROR = "Error occurred while reading cross reference table. Cross reference table will be rebuilt.";
199214
public static final String XREF_ERROR_WHILE_READING_TABLE_WILL_BE_REBUILT = "Error occurred while reading cross reference table. Cross reference table will be rebuilt.";
200-
}
215+
}

0 commit comments

Comments
 (0)