pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1722434 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/DrawPrintTextLocations.java
Date Thu, 31 Dec 2015 10:25:53 GMT
Author: tilman
Date: Thu Dec 31 10:25:53 2015
New Revision: 1722434

URL: http://svn.apache.org/viewvc?rev=1722434&view=rev
Log:
PDFBOX-2852: add default for Sonar

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/DrawPrintTextLocations.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/DrawPrintTextLocations.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/DrawPrintTextLocations.java?rev=1722434&r1=1722433&r2=1722434&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/DrawPrintTextLocations.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/DrawPrintTextLocations.java
Thu Dec 31 10:25:53 2015
@@ -222,6 +222,8 @@ public class DrawPrintTextLocations exte
                     case 180:
                         g2d.translate(mediaBox.getWidth(), mediaBox.getHeight());
                         break;
+                    default:
+                        break;
                 }
                 g2d.rotate(Math.toRadians(rotation));
             }



Mime
View raw message