aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2013-05-07 18:53:29 +0000
committerVincent Hennebert <vhennebert@apache.org>2013-05-07 18:53:29 +0000
commit439fb3ee98f378b92bed65154c106acba0bf9eda (patch)
treecf4374e950bc2a1c8c5dd04e581c06a53bb8bcef /src/java/org/apache/fop/pdf
parente8f590803ae0bb67a0d1686c47ccc2fb6d187ae8 (diff)
downloadxmlgraphics-fop-439fb3ee98f378b92bed65154c106acba0bf9eda.tar.gz
xmlgraphics-fop-439fb3ee98f378b92bed65154c106acba0bf9eda.zip
Cosmetics only: removed Checkstyle SuppressWithNearbyCommentFilter and fixed corresponding issues
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1480018 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r--src/java/org/apache/fop/pdf/PDFEncryptionJCE.java8
-rw-r--r--src/java/org/apache/fop/pdf/PDFFactory.java4
-rw-r--r--src/java/org/apache/fop/pdf/PDFFunction.java2
-rw-r--r--src/java/org/apache/fop/pdf/PDFShading.java2
4 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java b/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
index 2ef3b93da..129bab183 100644
--- a/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
+++ b/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
@@ -165,13 +165,13 @@ public final class PDFEncryptionJCE extends PDFObject implements PDFEncryption {
private static final class EncryptionSettings {
- final int encryptionLength; // CSOK: VisibilityModifier
+ final int encryptionLength;
- final int permissions; // CSOK: VisibilityModifier
+ final int permissions;
- final String userPassword; // CSOK: VisibilityModifier
+ final String userPassword;
- final String ownerPassword; // CSOK: VisibilityModifier
+ final String ownerPassword;
EncryptionSettings(int encryptionLength, int permissions,
String userPassword, String ownerPassword) {
diff --git a/src/java/org/apache/fop/pdf/PDFFactory.java b/src/java/org/apache/fop/pdf/PDFFactory.java
index 2feeece32..0f8d360c8 100644
--- a/src/java/org/apache/fop/pdf/PDFFactory.java
+++ b/src/java/org/apache/fop/pdf/PDFFactory.java
@@ -1061,12 +1061,12 @@ public class PDFFactory {
} else if (targetLo.endsWith(".pdf")) {
// Bare PDF file name?
return getGoToPDFAction(target, null, -1, newWindow);
- } else if ((index = targetLo.indexOf(".pdf#page=")) > 0) { // CSOK: InnerAssignment
+ } else if ((index = targetLo.indexOf(".pdf#page=")) > 0) {
// PDF file + page?
String filename = target.substring(0, index + 4);
int page = Integer.parseInt(target.substring(index + 10));
return getGoToPDFAction(filename, null, page, newWindow);
- } else if ((index = targetLo.indexOf(".pdf#dest=")) > 0) { // CSOK: InnerAssignment
+ } else if ((index = targetLo.indexOf(".pdf#dest=")) > 0) {
// PDF file + destination?
String filename = target.substring(0, index + 4);
String dest = target.substring(index + 10);
diff --git a/src/java/org/apache/fop/pdf/PDFFunction.java b/src/java/org/apache/fop/pdf/PDFFunction.java
index 1329e24df..f424569b9 100644
--- a/src/java/org/apache/fop/pdf/PDFFunction.java
+++ b/src/java/org/apache/fop/pdf/PDFFunction.java
@@ -374,7 +374,7 @@ public class PDFFunction extends PDFObject {
*
* @return the PDF string.
*/
- public byte[] toPDF() { // CSOK: MethodLength
+ public byte[] toPDF() {
int vectorSize = 0;
int numberOfFunctions = 0;
int tempInt = 0;
diff --git a/src/java/org/apache/fop/pdf/PDFShading.java b/src/java/org/apache/fop/pdf/PDFShading.java
index 82f4c03ed..62012b9b2 100644
--- a/src/java/org/apache/fop/pdf/PDFShading.java
+++ b/src/java/org/apache/fop/pdf/PDFShading.java
@@ -334,7 +334,7 @@ public class PDFShading extends PDFObject {
*
* @return the PDF string.
*/
- public String toPDFString() { // CSOK: MethodLength
+ public String toPDFString() {
int vectorSize;
int tempInt;
StringBuffer p = new StringBuffer(128);