Skip to content

Commit f6347fb

Browse files
Snipxitext-teamcity
authored andcommitted
Avoid using generic type arguments in non-generic context
Autoported commit. Original commit hash: [4193350cb]
1 parent bbabf91 commit f6347fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

itext/itext.layout/itext/layout/renderer/AbstractRenderer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,9 +1235,9 @@ protected internal virtual float[] CalculateShiftToPositionBBoxOfPointsAt(float
12351235
}
12361236

12371237
protected internal virtual void OverrideHeightProperties() {
1238-
float? height = this.GetPropertyAsFloat<float>(Property.HEIGHT);
1239-
float? maxHeight = this.GetPropertyAsFloat<float>(Property.MAX_HEIGHT);
1240-
float? minHeight = this.GetPropertyAsFloat<float>(Property.MIN_HEIGHT);
1238+
float? height = GetPropertyAsFloat(Property.HEIGHT);
1239+
float? maxHeight = GetPropertyAsFloat(Property.MAX_HEIGHT);
1240+
float? minHeight = GetPropertyAsFloat(Property.MIN_HEIGHT);
12411241
if (null != height) {
12421242
if (null == maxHeight || height < maxHeight) {
12431243
maxHeight = height;

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5e856ac1b585172d0db6344ddb82c05635ce620e
1+
4193350cb976df3b434e844e58d6d14513b8cb9c

0 commit comments

Comments
 (0)