Skip to content

Commit df120a5

Browse files
nikitakovaliov92yulian-gaponenko
authored andcommitted
Rename the LogMessageConstant classes and move them into a separate package
DEVSIX-5773
1 parent 35ca203 commit df120a5

File tree

322 files changed

+834
-770
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+834
-770
lines changed

src/main/java/com/itextpdf/html2pdf/attach/impl/layout/PageCountRenderer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This file is part of the iText (R) project.
4444

4545
import com.itextpdf.html2pdf.css.resolve.func.counter.CounterDigitsGlyphStyle;
4646
import com.itextpdf.html2pdf.html.HtmlUtils;
47-
import com.itextpdf.io.LogMessageConstant;
47+
import com.itextpdf.io.logs.IoLogMessageConstant;
4848
import com.itextpdf.io.font.otf.GlyphLine;
4949
import com.itextpdf.commons.utils.MessageFormatUtil;
5050
import com.itextpdf.kernel.font.PdfFont;
@@ -130,7 +130,7 @@ public IRenderer getNextRenderer() {
130130
if (PageCountRenderer.class != this.getClass()) {
131131
Logger logger = LoggerFactory.getLogger(PageCountRenderer.class);
132132
logger.error(MessageFormatUtil.format(
133-
LogMessageConstant.GET_NEXT_RENDERER_SHOULD_BE_OVERRIDDEN));
133+
IoLogMessageConstant.GET_NEXT_RENDERER_SHOULD_BE_OVERRIDDEN));
134134
}
135135
return new PageCountRenderer((PageCountElement) modelElement);
136136
}
@@ -142,7 +142,7 @@ public IRenderer getNextRenderer() {
142142
protected TextRenderer createCopy(GlyphLine gl, PdfFont font) {
143143
if (PageCountRenderer.class != this.getClass()) {
144144
Logger logger = LoggerFactory.getLogger(PageCountRenderer.class);
145-
logger.error(MessageFormatUtil.format(LogMessageConstant.CREATE_COPY_SHOULD_BE_OVERRIDDEN));
145+
logger.error(MessageFormatUtil.format(IoLogMessageConstant.CREATE_COPY_SHOULD_BE_OVERRIDDEN));
146146
}
147147
PageCountRenderer copy = new PageCountRenderer(this);
148148
copy.setProcessedGlyphLineAndFont(gl, font);

src/main/java/com/itextpdf/html2pdf/attach/impl/layout/PageTargetCountRenderer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This file is part of the iText (R) project.
2424

2525
import com.itextpdf.html2pdf.css.resolve.func.counter.CounterDigitsGlyphStyle;
2626
import com.itextpdf.html2pdf.html.HtmlUtils;
27-
import com.itextpdf.io.LogMessageConstant;
27+
import com.itextpdf.io.logs.IoLogMessageConstant;
2828
import com.itextpdf.io.font.otf.GlyphLine;
2929
import com.itextpdf.html2pdf.logs.Html2PdfLogMessageConstant;
3030
import com.itextpdf.commons.utils.MessageFormatUtil;
@@ -108,7 +108,7 @@ public IRenderer getNextRenderer() {
108108
if (PageTargetCountRenderer.class != this.getClass()) {
109109
Logger logger = LoggerFactory.getLogger(PageTargetCountRenderer.class);
110110
logger.error(MessageFormatUtil.format(
111-
LogMessageConstant.GET_NEXT_RENDERER_SHOULD_BE_OVERRIDDEN));
111+
IoLogMessageConstant.GET_NEXT_RENDERER_SHOULD_BE_OVERRIDDEN));
112112
}
113113
return new PageTargetCountRenderer((PageTargetCountElement) modelElement);
114114
}
@@ -121,7 +121,7 @@ protected TextRenderer createCopy(GlyphLine gl, PdfFont font) {
121121
if (PageTargetCountRenderer.class != this.getClass()) {
122122
Logger logger = LoggerFactory.getLogger(PageTargetCountRenderer.class);
123123
logger.error(MessageFormatUtil.format(
124-
LogMessageConstant.CREATE_COPY_SHOULD_BE_OVERRIDDEN));
124+
IoLogMessageConstant.CREATE_COPY_SHOULD_BE_OVERRIDDEN));
125125
}
126126
PageTargetCountRenderer copy = new PageTargetCountRenderer(this);
127127
copy.setProcessedGlyphLineAndFont(gl, font);

src/main/java/com/itextpdf/html2pdf/attach/impl/layout/form/renderer/InputButtonRenderer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This file is part of the iText (R) project.
4949
import com.itextpdf.html2pdf.attach.impl.layout.Html2PdfProperty;
5050
import com.itextpdf.html2pdf.attach.impl.layout.form.element.InputButton;
5151
import com.itextpdf.commons.utils.MessageFormatUtil;
52-
import com.itextpdf.io.LogMessageConstant;
52+
import com.itextpdf.io.logs.IoLogMessageConstant;
5353
import com.itextpdf.kernel.geom.Rectangle;
5454
import com.itextpdf.kernel.pdf.PdfDocument;
5555
import com.itextpdf.kernel.pdf.PdfPage;
@@ -138,7 +138,8 @@ protected void applyAcroField(DrawContext drawContext) {
138138
UnitValue fontSize = (UnitValue) this.getPropertyAsUnitValue(Property.FONT_SIZE);
139139
if (!fontSize.isPointValue()) {
140140
Logger logger = LoggerFactory.getLogger(InputButtonRenderer.class);
141-
logger.error(MessageFormatUtil.format(LogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED, Property.FONT_SIZE));
141+
logger.error(MessageFormatUtil.format(IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED,
142+
Property.FONT_SIZE));
142143
}
143144
PdfDocument doc = drawContext.getDocument();
144145
Rectangle area = flatRenderer.getOccupiedArea().getBBox().clone();

src/main/java/com/itextpdf/html2pdf/attach/impl/layout/form/renderer/InputFieldRenderer.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This file is part of the iText (R) project.
4848
import com.itextpdf.html2pdf.attach.impl.layout.Html2PdfProperty;
4949
import com.itextpdf.html2pdf.attach.impl.layout.form.element.InputField;
5050
import com.itextpdf.commons.utils.MessageFormatUtil;
51-
import com.itextpdf.io.LogMessageConstant;
51+
import com.itextpdf.io.logs.IoLogMessageConstant;
5252
import com.itextpdf.kernel.geom.Rectangle;
5353
import com.itextpdf.kernel.pdf.PdfDocument;
5454
import com.itextpdf.kernel.pdf.PdfPage;
@@ -164,7 +164,8 @@ protected void applyAcroField(DrawContext drawContext) {
164164
UnitValue fontSize = (UnitValue) this.getPropertyAsUnitValue(Property.FONT_SIZE);
165165
if (!fontSize.isPointValue()) {
166166
Logger logger = LoggerFactory.getLogger(InputFieldRenderer.class);
167-
logger.error(MessageFormatUtil.format(LogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED, Property.FONT_SIZE));
167+
logger.error(MessageFormatUtil.format(IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED,
168+
Property.FONT_SIZE));
168169
}
169170
PdfDocument doc = drawContext.getDocument();
170171
Rectangle area = flatRenderer.getOccupiedArea().getBBox().clone();
@@ -193,7 +194,8 @@ public <T1> T1 getProperty(int key) {
193194
UnitValue fontSize = (UnitValue) this.getPropertyAsUnitValue(Property.FONT_SIZE);
194195
if (!fontSize.isPointValue()) {
195196
Logger logger = LoggerFactory.getLogger(InputFieldRenderer.class);
196-
logger.error(MessageFormatUtil.format(LogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED, Property.FONT_SIZE));
197+
logger.error(MessageFormatUtil.format(IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED,
198+
Property.FONT_SIZE));
197199
}
198200
int size = getSize();
199201
return (T1) (Object) UnitValue.createPointValue(updateHtmlColsSizeBasedWidth(fontSize.getValue() * (size * 0.5f + 2) + 2));

src/main/java/com/itextpdf/html2pdf/attach/impl/layout/form/renderer/TextAreaRenderer.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This file is part of the iText (R) project.
4848
import com.itextpdf.html2pdf.attach.impl.layout.Html2PdfProperty;
4949
import com.itextpdf.html2pdf.attach.impl.layout.form.element.TextArea;
5050
import com.itextpdf.commons.utils.MessageFormatUtil;
51-
import com.itextpdf.io.LogMessageConstant;
51+
import com.itextpdf.io.logs.IoLogMessageConstant;
5252
import com.itextpdf.kernel.geom.Rectangle;
5353
import com.itextpdf.kernel.pdf.PdfDocument;
5454
import com.itextpdf.kernel.pdf.PdfPage;
@@ -170,7 +170,8 @@ protected void applyAcroField(DrawContext drawContext) {
170170
UnitValue fontSize = (UnitValue) this.getPropertyAsUnitValue(Property.FONT_SIZE);
171171
if (!fontSize.isPointValue()) {
172172
Logger logger = LoggerFactory.getLogger(TextAreaRenderer.class);
173-
logger.error(MessageFormatUtil.format(LogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED, Property.FONT_SIZE));
173+
logger.error(MessageFormatUtil.format(IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED,
174+
Property.FONT_SIZE));
174175
}
175176
PdfDocument doc = drawContext.getDocument();
176177
Rectangle area = flatRenderer.getOccupiedArea().getBBox().clone();
@@ -192,7 +193,8 @@ public <T1> T1 getProperty(int key) {
192193
UnitValue fontSize = (UnitValue) this.getPropertyAsUnitValue(Property.FONT_SIZE);
193194
if (!fontSize.isPointValue()) {
194195
Logger logger = LoggerFactory.getLogger(TextAreaRenderer.class);
195-
logger.error(MessageFormatUtil.format(LogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED, Property.FONT_SIZE));
196+
logger.error(MessageFormatUtil.format(IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED,
197+
Property.FONT_SIZE));
196198
}
197199
int cols = getCols();
198200
return (T1) (Object) UnitValue.createPointValue(updateHtmlColsSizeBasedWidth(fontSize.getValue() * (cols * 0.5f + 2) + 2));

src/main/java/com/itextpdf/html2pdf/logs/Html2PdfLogMessageConstant.java

Lines changed: 86 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -50,112 +50,158 @@ public final class Html2PdfLogMessageConstant {
5050
/** The Constant CANNOT_RESOLVE_TARGET_COUNTER_VALUE. */
5151
public static final String CANNOT_RESOLVE_TARGET_COUNTER_VALUE
5252
= "Cannot resolve target-counter value with given target \"{0}\"";
53+
5354
/** The Constant CUSTOM_RENDERER_IS_SET_FOR_HTML_DOCUMENT. */
54-
public static final String CUSTOM_RENDERER_IS_SET_FOR_HTML_DOCUMENT = "A custom renderer which doesn't extend " +
55-
"HtmlDocumentRenderer is set for HtmlDocument. Counters and target-counters may be displayed incorrectly.";
55+
public static final String CUSTOM_RENDERER_IS_SET_FOR_HTML_DOCUMENT =
56+
"A custom renderer which doesn't extend HtmlDocumentRenderer is set for HtmlDocument. Counters and "
57+
+ "target-counters may be displayed incorrectly.";
58+
5659
/** The Constant ACROFORM_NOT_SUPPORTED_FOR_SELECT. */
57-
public static final String ACROFORM_NOT_SUPPORTED_FOR_SELECT = "AcroForm fields creation for select fields "
58-
+ "(ComboBoxField and ListBoxField) is not supported. They will be flattened instead.";
59-
public static final String ANCHOR_LINK_NOT_HANDLED = "The anchor link was not handled. Could not create a "
60-
+ "destination for element \"{0}\" with ID \"{1}\", which is processed by \"{2}\" tag worker class.";
60+
public static final String ACROFORM_NOT_SUPPORTED_FOR_SELECT =
61+
"AcroForm fields creation for select fields (ComboBoxField and ListBoxField) is not supported. They will "
62+
+ "be flattened instead.";
63+
64+
public static final String ANCHOR_LINK_NOT_HANDLED =
65+
"The anchor link was not handled. Could not create a destination for element \"{0}\" with ID \"{1}\", "
66+
+ "which is processed by \"{2}\" tag worker class.";
67+
6168
/** The Constant CONTENT_PROPERTY_INVALID. */
62-
public static final String CONTENT_PROPERTY_INVALID = "Content property \"{0}\" is either invalid or uses "
63-
+ "unsupported function.";
69+
public static final String CONTENT_PROPERTY_INVALID =
70+
"Content property \"{0}\" is either invalid or uses unsupported function.";
71+
6472
/** The Constant CSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED. */
6573
public static final String CSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED = "Css property {0} in percents is not supported";
66-
public static final String DEFAULT_VALUE_OF_CSS_PROPERTY_UNKNOWN = "Default value of the css property \"{0}\" "
67-
+ "is unknown.";
74+
75+
public static final String DEFAULT_VALUE_OF_CSS_PROPERTY_UNKNOWN =
76+
"Default value of the css property \"{0}\" is unknown.";
77+
6878
/** The Constant ERROR_LOADING_FONT. */
6979
public static final String ERROR_LOADING_FONT = "Error while loading font";
80+
7081
/** The Constant ERROR_PARSING_CSS_SELECTOR. */
7182
public static final String ERROR_PARSING_CSS_SELECTOR = "Error while parsing css selector: {0}";
83+
7284
/** The Constant ERROR_RESOLVING_PARENT_STYLES. */
73-
public static final String ERROR_RESOLVING_PARENT_STYLES = "Element parent styles are not resolved. Styles "
74-
+ "for current element might be incorrect.";
85+
public static final String ERROR_RESOLVING_PARENT_STYLES =
86+
"Element parent styles are not resolved. Styles for current element might be incorrect.";
87+
7588
/** The Constant ERROR_WHILE_LAYOUT_OF_FORM_FIELD. */
76-
public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD = "Cannot layout form field field. It won't "
77-
+ "be displayed";
89+
public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD =
90+
"Cannot layout form field field. It won't be displayed";
91+
7892
/** The Constant EXCEEDED_THE_MAXIMUM_NUMBER_OF_RELAYOUTS. */
79-
public static final String EXCEEDED_THE_MAXIMUM_NUMBER_OF_RELAYOUTS = "Exceeded the maximum number of relayouts. " +
80-
"The resultant document may look not as expected. " +
81-
"Because of the content being dynamic iText performs several relayouts to produce correct document.";
93+
public static final String EXCEEDED_THE_MAXIMUM_NUMBER_OF_RELAYOUTS =
94+
"Exceeded the maximum number of relayouts. The resultant document may look not as expected. Because of the"
95+
+ " content being dynamic iText performs several relayouts to produce correct document.";
96+
8297
/** The constant FLEX_PROPERTY_IS_NOT_SUPPORTED_YET. */
8398
public static final String FLEX_PROPERTY_IS_NOT_SUPPORTED_YET =
8499
"Flex related property {0}: {1} is not supported yet.";
100+
85101
/** The Constant ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE. */
86-
public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE = "Error during layout of form filed "
87-
+ "with type {0}.";
102+
public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE =
103+
"Error during layout of form filed with type {0}.";
104+
88105
/** The Constant INPUT_FIELD_DOES_NOT_FIT. */
89106
public static final String INPUT_FIELD_DOES_NOT_FIT = "Input field doesn't fit in outer object. It will be clipped";
107+
90108
/** The Constant INPUT_TYPE_IS_INVALID. */
91-
public static final String INPUT_TYPE_IS_INVALID = "Input type {0} is invalid. The default text type "
92-
+ "will be used instead.";
109+
public static final String INPUT_TYPE_IS_INVALID =
110+
"Input type {0} is invalid. The default text type will be used instead.";
111+
93112
/** The Constant INPUT_TYPE_IS_NOT_SUPPORTED. */
94113
public static final String INPUT_TYPE_IS_NOT_SUPPORTED = "Input type {0} is not supported";
114+
95115
/** The Constant INVALID_CSS_PROPERTY_DECLARATION. */
96116
public static final String INVALID_CSS_PROPERTY_DECLARATION = "Invalid css property declaration: {0}";
117+
97118
/** The Constant INVALID_CSS_PROPERTY_DECLARATION. */
98119
public static final String INVALID_GRADIENT_DECLARATION = "Invalid gradient declaration: {0}";
120+
99121
/** The Constant MARGIN_VALUE_IN_PERCENT_NOT_SUPPORTED. */
100122
public static final String MARGIN_VALUE_IN_PERCENT_NOT_SUPPORTED = "Margin value in percents not supported";
123+
101124
/** The Constant NOT_SUPPORTED_LIST_STYLE_TYPE. */
102125
public static final String NOT_SUPPORTED_LIST_STYLE_TYPE = "Not supported list style type: {0}";
126+
103127
/** The Constant NOT_SUPPORTED_TH_SCOPE_TYPE. */
104-
public static final String NOT_SUPPORTED_TH_SCOPE_TYPE = "Not supported th scope type: {0}. Document "
105-
+ "may not be compliant with PDF/UA standards.";
128+
public static final String NOT_SUPPORTED_TH_SCOPE_TYPE =
129+
"Not supported th scope type: {0}. Document may not be compliant with PDF/UA standards.";
130+
106131
/** The Constant NO_CONSUMER_FOUND_FOR_CONTENT. */
107132
public static final String NO_CONSUMER_FOUND_FOR_CONTENT = "No consumer found for content";
133+
108134
/** The Constant NO_CSS_APPLIER_FOUND_FOR_TAG. */
109135
public static final String NO_CSS_APPLIER_FOUND_FOR_TAG = "No css applier found for tag {0}";
136+
110137
/** The Constant NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG. */
111-
public static final String NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG = "Tag worker does not produce "
112-
+ "IPropertyContainer for \"{0}\" tag. An outline for \"{0}\" tag will not be created.";
138+
public static final String NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG =
139+
"Tag worker does not produce IPropertyContainer for \"{0}\" tag. An outline for \"{0}\" tag will not be "
140+
+ "created.";
141+
113142
/** The Constant NO_WORKER_FOUND_FOR_TAG. */
114143
public static final String NO_WORKER_FOUND_FOR_TAG = "No worker found for tag {0}";
144+
115145
/** The Constant PADDING_VALUE_IN_PERCENT_NOT_SUPPORTED. */
116146
public static final String PADDING_VALUE_IN_PERCENT_NOT_SUPPORTED = "Padding value in percents not supported";
117-
public static final String PAGE_MARGIN_BOX_CONTENT_CANNOT_BE_DRAWN = "Page margin box {0} content cannot be "
118-
+ "drawn.";
119-
public static final String PAGE_MARGIN_BOX_SOME_PROPERTIES_NOT_PROCESSED = "Page margin box margin, padding, "
120-
+ "height and width properties are not processed. Passed styles container shall be of "
121-
+ "PageMarginBoxContextNode type.";
147+
148+
public static final String PAGE_MARGIN_BOX_CONTENT_CANNOT_BE_DRAWN = "Page margin box {0} content cannot be drawn.";
149+
150+
public static final String PAGE_MARGIN_BOX_SOME_PROPERTIES_NOT_PROCESSED =
151+
"Page margin box margin, padding, height and width properties are not processed. Passed styles container "
152+
+ "shall be of PageMarginBoxContextNode type.";
153+
122154
/** The Constant PAGE_SIZE_VALUE_IS_INVALID. */
123155
public static final String PAGE_SIZE_VALUE_IS_INVALID = "Page size value {0} is invalid.";
156+
124157
/** The Constant PDF_DOCUMENT_NOT_PRESENT. */
125158
public static final String PDF_DOCUMENT_NOT_PRESENT = "PdfDocument is not present";
159+
126160
/** The Constant QUOTES_PROPERTY_INVALID. */
127-
public static final String QUOTES_PROPERTY_INVALID = "Quote property \"{0}\" is invalid. It should contain even "
128-
+ "number of <string> values.";
161+
public static final String QUOTES_PROPERTY_INVALID =
162+
"Quote property \"{0}\" is invalid. It should contain even number of <string> values.";
163+
129164
/** The Constant TEXT_DECORATION_BLINK_NOT_SUPPORTED. */
130165
public static final String TEXT_DECORATION_BLINK_NOT_SUPPORTED = "text-decoration: blink not supported";
166+
131167
/** The Constant HSL_COLOR_NOT_SUPPORTED. */
132168
public static final String HSL_COLOR_NOT_SUPPORTED = "Hsl colors are not supported";
169+
133170
/** The Constant UNABLE_TO_PROCESS_EXTERNAL_CSS_FILE. */
134171
public static final String UNABLE_TO_PROCESS_EXTERNAL_CSS_FILE = "Unable to process external css file";
135-
/** The Constant UNABLE_TO_PROCESS_SVG */
172+
173+
/** The Constant UNABLE_TO_PROCESS_SVG. */
136174
public static final String UNABLE_TO_PROCESS_SVG_ELEMENT = "Unable to process an SVG element";
175+
137176
/** The Constant UNABLE_TO_RESOLVE_COUNTER. */
138177
public static final String UNABLE_TO_RESOLVE_COUNTER = "Unable to resolve counter \"{0}\"";
178+
139179
/** The Constant UNABLE_TO_RETRIEVE_FONT. */
140180
public static final String UNABLE_TO_RETRIEVE_FONT = "Unable to retrieve font:\n {0}";
181+
141182
/** The Constant UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI. */
142-
public static final String UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI = "Unable to retrieve image with given "
143-
+ "base URI ({0}) and image source path ({1})";
183+
public static final String UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI =
184+
"Unable to retrieve image with given base URI ({0}) and image source path ({1})";
185+
144186
/** The Constant UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI. */
145-
public static final String UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI = "Unable to retrieve stream with given "
146-
+ "base URI ({0}) and source path ({1})";
187+
public static final String UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI =
188+
"Unable to retrieve stream with given base URI ({0}) and source path ({1})";
189+
147190
/** The Constant UNEXPECTED_VALUE_OF_OBJECT_FIT_PROPERTY. */
148191
public static final String UNEXPECTED_VALUE_OF_OBJECT_FIT =
149192
"Unexpected value of object-fit property: {0}. Will be processed as default";
193+
150194
/** The Constant UNKNOWN_MARGIN_BOX_CHILD. */
151195
public static final String UNKNOWN_MARGIN_BOX_CHILD = "Unknown margin box child";
196+
152197
/** The Constant WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT. */
153-
public static final String WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT = "Worker of type {0} unable to process "
154-
+ "it`s text content";
198+
public static final String WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT =
199+
"Worker of type {0} unable to process it`s text content";
200+
155201
/** The Constant WORKER_UNABLE_TO_PROCESS_OTHER_WORKER. */
156202
public static final String WORKER_UNABLE_TO_PROCESS_OTHER_WORKER = "Worker of type {0} unable to process {1}";
157203

158204
private Html2PdfLogMessageConstant() {
205+
//Private constructor will prevent the instantiation of this class directly
159206
}
160-
161207
}

0 commit comments

Comments
 (0)