Skip to content

Commit 53b67d9

Browse files
committed
Fix minor mistakes in KernelExceptionMessageConstant
DEVSIX-7782
1 parent 3c17e1d commit 53b67d9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

kernel/src/main/java/com/itextpdf/kernel/exceptions/KernelExceptionMessageConstant.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public final class KernelExceptionMessageConstant {
221221
public static final String INVALID_TYPE_2_FUNCTION_DOMAIN =
222222
"Invalid PDF Type 2 Function object, \"Domain\" array shall consist of 2 numbers.";
223223
public static final String INVALID_TYPE_2_FUNCTION_N =
224-
"Invalid PDF Type 2 Function object, \"N\" field should be existed and must be a number.";
224+
"Invalid PDF Type 2 Function object, \"N\" field should exist and must be a number.";
225225
public static final String INVALID_TYPE_2_FUNCTION_N_NEGATIVE =
226226
"Invalid PDF Type 2 Function object, when \"N\" is negative, values of \"Domain\" shall "
227227
+ "not allow zero as input value.";
@@ -242,13 +242,13 @@ public final class KernelExceptionMessageConstant {
242242
public static final String INVALID_TYPE_3_FUNCTION_FUNCTIONS_INPUT =
243243
"Invalid PDF Type 3 Function object, all functions shall have 1 input value.";
244244
public static final String INVALID_TYPE_3_FUNCTION_NULL_BOUNDS =
245-
"Invalid PDF Type 3 Function object, \"Bounds\" array should be exist and it size should corresponds "
246-
+ "to the size of \"Functions\" array.";
245+
"Invalid PDF Type 3 Function object, \"Bounds\" array should exist and its size should correspond "
246+
+ "to the size of the \"Functions\" array.";
247247
public static final String INVALID_TYPE_3_FUNCTION_NULL_ENCODE =
248-
"Invalid PDF Type 3 Function object, \"Encode\" array should be exist and it size should be 2 times "
249-
+ "more than \"Functions\" array size.";
248+
"Invalid PDF Type 3 Function object, \"Encode\" array should exist and its size should be 2 times "
249+
+ "more than the size of the \"Functions\" array.";
250250
public static final String INVALID_TYPE_3_FUNCTION_NULL_FUNCTIONS =
251-
"Invalid PDF Type 3 Function object, \"Functions\" array should be exist and can't be empty.";
251+
"Invalid PDF Type 3 Function object, \"Functions\" array should exist and can't be empty.";
252252
public static final String INVALID_RANGE_ARRAY = "Invalid range array.";
253253
public static final String INVALID_OFFSET_FOR_THIS_OBJECT = "Invalid offset for object {0}.";
254254
public static final String INVALID_XREF_STREAM = "Invalid xref stream.";

0 commit comments

Comments
 (0)