You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/06/15 16:47:56 UTC

svn commit: r1861417 - /pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ImageUtil.java

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)
         {