Skip to content

Commit 37a22b6

Browse files
committed
Review a few TODOs
DEVSIX-6980
1 parent eeb9e68 commit 37a22b6

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

kernel/src/main/java/com/itextpdf/kernel/pdf/xobject/ImagePdfBytesInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public ImagePdfBytesInfo(PdfImageXObject imageXObject) {
8989
decode = imageXObject.getPdfObject().getAsArray(PdfName.Decode);
9090
findColorspace(colorspace, true);
9191
}
92-
92+
9393
public int getPngColorType() {
9494
return pngColorType;
9595
}
@@ -189,7 +189,7 @@ private byte[] processPng(byte[] imageBytes, int pngBitDepth, int pngColorType)
189189
// if the decode array is 0,1, do nothing. It's possible that the array could be 0,0 or 1,1 - but that would be silly, so we'll just ignore that case
190190
}
191191
} else {
192-
// todo: add decode transformation for other depths
192+
// TODO DEVSIX-7015 add decode transformation for other depths
193193
}
194194
}
195195
png.writeHeader(width, height, pngBitDepth, pngColorType);

layout/src/main/java/com/itextpdf/layout/renderer/AbstractRenderer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,8 +1731,7 @@ protected Float retrieveUnitValue(float baseValue, int property, boolean pointOn
17311731
return null;
17321732
}
17331733
}
1734-
1735-
//TODO is behavior of copying all properties in split case common to all renderers?
1734+
17361735
protected Map<Integer, Object> getOwnProperties() {
17371736
return properties;
17381737
}

layout/src/main/java/com/itextpdf/layout/renderer/AccessibleAttributesApplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public static PdfStructureAttributes getLayoutAttributes(AbstractRenderer render
9595
PdfDictionary attributes = new PdfDictionary();
9696
attributes.put(PdfName.O, PdfName.Layout);
9797

98-
//TODO WritingMode attribute applying when needed
98+
// TODO DEVSIX-7016 WritingMode attribute applying when needed
9999

100100
applyCommonLayoutAttributes(renderer, attributes);
101101
if (tagType == AccessibleTypes.BlockLevel) {

styled-xml-parser/src/main/java/com/itextpdf/styledxmlparser/css/CssStyleSheet.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public void addStatement(CssStatement statement) {
8888
*
8989
* @param anotherCssStyleSheet the other CSS style sheet
9090
*/
91-
// TODO move this functionality to the parser (parse into)
9291
public void appendCssStyleSheet(CssStyleSheet anotherCssStyleSheet) {
9392
statements.addAll(anotherCssStyleSheet.statements);
9493
}

0 commit comments

Comments
 (0)