Skip to content

Commit 4193350

Browse files
committed
Avoid using generic type arguments in non-generic context
1 parent 5e856ac commit 4193350

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,9 +1200,9 @@ protected float[] calculateShiftToPositionBBoxOfPointsAt(float left, float top,
12001200
}
12011201

12021202
protected void overrideHeightProperties() {
1203-
Float height = this.<Float>getPropertyAsFloat(Property.HEIGHT);
1204-
Float maxHeight = this.<Float>getPropertyAsFloat(Property.MAX_HEIGHT);
1205-
Float minHeight = this.<Float>getPropertyAsFloat(Property.MIN_HEIGHT);
1203+
Float height = getPropertyAsFloat(Property.HEIGHT);
1204+
Float maxHeight = getPropertyAsFloat(Property.MAX_HEIGHT);
1205+
Float minHeight = getPropertyAsFloat(Property.MIN_HEIGHT);
12061206
if (null != height) {
12071207
if (null == maxHeight || height < maxHeight) {
12081208
maxHeight = height;

0 commit comments

Comments
 (0)