pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1670732 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/text/SetCharSpacing.java
Date Wed, 01 Apr 2015 17:08:43 GMT
Author: tilman
Date: Wed Apr  1 17:08:42 2015
New Revision: 1670732

URL: http://svn.apache.org/r1670732
Log:
PDFBOX-2576: use isEmpty()

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/text/SetCharSpacing.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/text/SetCharSpacing.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/text/SetCharSpacing.java?rev=1670732&r1=1670731&r2=1670732&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/text/SetCharSpacing.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/operator/text/SetCharSpacing.java
Wed Apr  1 17:08:42 2015
@@ -35,7 +35,7 @@ public class SetCharSpacing extends Oper
     @Override
     public void process(Operator operator, List<COSBase> arguments) throws IOException
     {
-        if (arguments.size() == 0)
+        if (arguments.isEmpty())
         {
             throw new MissingOperandException(operator, arguments);
         }



Mime
View raw message