RED-6204: Removed redundant parenthesis

This commit is contained in:
Viktor Seifert 2023-02-23 16:57:58 +01:00
parent 3804acf3c1
commit 3fad6381ce

View File

@ -26,7 +26,7 @@ public final class RulingTextDirAdjustUtil {
var xAdj = getXRot(x, y, dir, pageWidth, pageHeight);
var yLowerLeftRot = getYLowerLeftRot(x, y, dir, pageWidth, pageHeight);
var yAdj = (dir == 0 || dir == 180) ? pageHeight - yLowerLeftRot : pageWidth - yLowerLeftRot;
var yAdj = dir == 0 || dir == 180 ? pageHeight - yLowerLeftRot : pageWidth - yLowerLeftRot;
return new Point2D.Float(xAdj, yAdj);
}