pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1827066 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/RelationalOperators.java
Date Sat, 17 Mar 2018 08:58:15 GMT
Author: msahyoun
Date: Sat Mar 17 08:58:15 2018
New Revision: 1827066

URL: http://svn.apache.org/viewvc?rev=1827066&view=rev
Log:
PDFBOX-4071: mark overriding method; remove not needed assignment

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/RelationalOperators.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/RelationalOperators.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/RelationalOperators.java?rev=1827066&r1=1827065&r2=1827066&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/RelationalOperators.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/RelationalOperators.java
Sat Mar 17 08:58:15 2018
@@ -28,7 +28,7 @@ class RelationalOperators
     /** Implements the "eq" operator. */
     static class Eq implements Operator
     {
-
+        @Override
         public void execute(ExecutionContext context)
         {
             Stack<Object> stack = context.getStack();
@@ -40,7 +40,7 @@ class RelationalOperators
 
         protected boolean isEqual(Object op1, Object op2)
         {
-            boolean result = false;
+            boolean result;
             if (op1 instanceof Number && op2 instanceof Number)
             {
                 Number num1 = (Number)op1;
@@ -59,7 +59,7 @@ class RelationalOperators
     /** Abstract base class for number comparison operators. */
     private abstract static class AbstractNumberComparisonOperator implements Operator
     {
-
+        @Override
         public void execute(ExecutionContext context)
         {
             Stack<Object> stack = context.getStack();



Mime
View raw message