pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1647972 - in /pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff: CFFEncoding.java CFFExpertCharset.java CFFExpertEncoding.java CFFStandardEncoding.java
Date Fri, 26 Dec 2014 13:02:18 GMT
Author: tilman
Date: Fri Dec 26 13:02:18 2014
New Revision: 1647972

URL: http://svn.apache.org/r1647972
Log:
PDFBOX-2576: class which has only private constructors should be declared as final

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFEncoding.java
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertCharset.java
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertEncoding.java
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFStandardEncoding.java

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFEncoding.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFEncoding.java?rev=1647972&r1=1647971&r2=1647972&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFEncoding.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFEncoding.java Fri Dec 26
13:02:18 2014
@@ -44,6 +44,7 @@ public abstract class CFFEncoding extend
      * @param code character code
      * @return PostScript glyph name
      */
+    @Override
     public String getName(int code)
     {
         String name = codeToName.get(code);

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertCharset.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertCharset.java?rev=1647972&r1=1647971&r2=1647972&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertCharset.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertCharset.java Fri Dec
26 13:02:18 2014
@@ -22,7 +22,7 @@ package org.apache.fontbox.cff;
  * @author Villu Ruusmann
  * @version $Revision$
  */
-public class CFFExpertCharset extends CFFCharset
+public final class CFFExpertCharset extends CFFCharset
 {
 
     private CFFExpertCharset()

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertEncoding.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertEncoding.java?rev=1647972&r1=1647971&r2=1647972&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertEncoding.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFExpertEncoding.java Fri Dec
26 13:02:18 2014
@@ -22,7 +22,7 @@ package org.apache.fontbox.cff;
  * @author Villu Ruusmann
  * @version $Revision$
  */
-public class CFFExpertEncoding extends CFFEncoding
+public final class CFFExpertEncoding extends CFFEncoding
 {
 
     private CFFExpertEncoding()

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFStandardEncoding.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFStandardEncoding.java?rev=1647972&r1=1647971&r2=1647972&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFStandardEncoding.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFStandardEncoding.java Fri
Dec 26 13:02:18 2014
@@ -22,7 +22,7 @@ package org.apache.fontbox.cff;
  * @author Villu Ruusmann
  * @version $Revision$
  */
-public class CFFStandardEncoding extends CFFEncoding
+public final class CFFStandardEncoding extends CFFEncoding
 {
 
     private CFFStandardEncoding()



Mime
View raw message