pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1861417 - /pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java
Date Sat, 15 Jun 2019 16:47:56 GMT
Author: tilman
Date: Sat Jun 15 16:47:56 2019
New Revision: 1861417

URL: http://svn.apache.org/viewvc?rev=1861417&view=rev
Log:
PDFBOX-4071: SonarQube fix

Modified:
    pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java

Modified: pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java?rev=1861417&r1=1861416&r2=1861417&view=diff
==============================================================================
--- pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java
(original)
+++ pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java
Sat Jun 15 16:47:56 2019
@@ -41,7 +41,8 @@ public final class ImageUtil
     {
         int width = image.getWidth();
         int height = image.getHeight();
-        double x = 0, y = 0;
+        double x = 0;
+        double y = 0;
         BufferedImage rotatedImage;
         switch (rotation % 360)
         {



Mime
View raw message