pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1803852 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox: pdmodel/interactive/annotation/PDAppearanceContentStream.java rendering/PDFRenderer.java
Date Wed, 02 Aug 2017 16:10:16 GMT
Author: tilman
Date: Wed Aug  2 16:10:16 2017
New Revision: 1803852

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

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAppearanceContentStream.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFRenderer.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAppearanceContentStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAppearanceContentStream.java?rev=1803852&r1=1803851&r2=1803852&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAppearanceContentStream.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAppearanceContentStream.java
Wed Aug  2 16:10:16 2017
@@ -141,6 +141,9 @@ public final class PDAppearanceContentSt
             break;
         case 4:
             writeOperator("K");
+            break;
+        default:
+            break;
         }
     }
 
@@ -194,6 +197,9 @@ public final class PDAppearanceContentSt
             break;
         case 4:
             writeOperator("k");
+            break;
+        default:
+            break;
         }
     }
 

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFRenderer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFRenderer.java?rev=1803852&r1=1803851&r2=1803852&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFRenderer.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFRenderer.java Wed Aug
 2 16:10:16 2017
@@ -209,6 +209,8 @@ public class PDFRenderer
                     translateX = cropBox.getWidth();
                     translateY = cropBox.getHeight();
                     break;
+                default:
+                    break;
             }
             graphics.translate(translateX, translateY);
             graphics.rotate((float) Math.toRadians(rotationAngle));



Mime
View raw message