You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2015/02/22 22:55:48 UTC
svn commit: r1661568 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/ASCII85OutputStream.java
Author: tilman
Date: Sun Feb 22 21:55:48 2015
New Revision: 1661568
URL: http://svn.apache.org/r1661568
Log:
PDFBOX-2576: remove redundant final method modifier
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/ASCII85OutputStream.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/ASCII85OutputStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/ASCII85OutputStream.java?rev=1661568&r1=1661567&r2=1661568&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/ASCII85OutputStream.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/ASCII85OutputStream.java Sun Feb 22 21:55:48 2015
@@ -114,7 +114,7 @@ final class ASCII85OutputStream extends
/**
* This will transform the next four ascii bytes.
*/
- private final void transformASCII85()
+ private void transformASCII85()
{
long word = ((((indata[0] << 8) | (indata[1] & 0xFF)) << 16) | ((indata[2] & 0xFF) << 8) | (indata[3] & 0xFF)) & 0xFFFFFFFFL;
@@ -150,7 +150,8 @@ final class ASCII85OutputStream extends
*
* @throws IOException If there is an error writing to the stream.
*/
- public final void write(int b) throws IOException
+ @Override
+ public void write(int b) throws IOException
{
flushed = false;
indata[count++] = (byte) b;
@@ -180,7 +181,8 @@ final class ASCII85OutputStream extends
*
* @throws IOException If there is an error writing the data to the stream.
*/
- public final void flush() throws IOException
+ @Override
+ public void flush() throws IOException
{
if (flushed)
{
@@ -227,6 +229,7 @@ final class ASCII85OutputStream extends
*
* @throws IOException If there is an error closing the wrapped stream.
*/
+ @Override
public void close() throws IOException
{
try