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 2018/02/12 16:59:52 UTC
svn commit: r1824029 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java
Author: tilman
Date: Mon Feb 12 16:59:52 2018
New Revision: 1824029
URL: http://svn.apache.org/viewvc?rev=1824029&view=rev
Log:
PDFBOX-4071: move constructor to beginning; remove super()
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java?rev=1824029&r1=1824028&r2=1824029&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java Mon Feb 12 16:59:52 2018
@@ -41,6 +41,20 @@ public class COSWriterXRefEntry implemen
}
/**
+ * COSWriterXRefEntry constructor comment.
+ *
+ * @param start The start attribute.
+ * @param obj The COS object that this entry represents.
+ * @param keyValue The key to the COS object.
+ */
+ public COSWriterXRefEntry(long start, COSBase obj, COSObjectKey keyValue)
+ {
+ setOffset(start);
+ setObject(obj);
+ setKey(keyValue);
+ }
+
+ /**
* {@inheritDoc}
*/
@Override
@@ -132,21 +146,6 @@ public class COSWriterXRefEntry implemen
}
/**
- * COSWriterXRefEntry constructor comment.
- *
- * @param start The start attribute.
- * @param obj The COS object that this entry represents.
- * @param keyValue The key to the COS object.
- */
- public COSWriterXRefEntry(long start, COSBase obj, COSObjectKey keyValue)
- {
- super();
- setOffset(start);
- setObject(obj);
- setKey(keyValue);
- }
-
- /**
* This will get the object.
*
* @return The object.