aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core
diff options
context:
space:
mode:
authorChris Bowditch <cbowditch@apache.org>2020-05-12 08:43:58 +0000
committerChris Bowditch <cbowditch@apache.org>2020-05-12 08:43:58 +0000
commit874b4aac6c371ed0a8c6e39ec4b042bf54f8de6d (patch)
treec40a686f1eeef04df79534bd3522ce76d89d67d1 /fop-core
parent0c19e852f5db578f96f496b5e25e0e13e6a7aa55 (diff)
downloadxmlgraphics-fop-874b4aac6c371ed0a8c6e39ec4b042bf54f8de6d.tar.gz
xmlgraphics-fop-874b4aac6c371ed0a8c6e39ec4b042bf54f8de6d.zip
FOP-1648; fix checkstyle
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1877638 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core')
-rw-r--r--fop-core/src/main/java/org/apache/fop/svg/PDFANode.java1
-rw-r--r--fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java2
-rw-r--r--fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java17
3 files changed, 19 insertions, 1 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java b/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java
index a55561706..cbd46cf75 100644
--- a/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java
+++ b/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java
@@ -26,6 +26,7 @@ import java.awt.geom.Rectangle2D;
import java.util.StringTokenizer;
import org.apache.batik.gvt.CompositeGraphicsNode;
+
import org.apache.fop.pdf.PDFLink;
/**
diff --git a/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java b/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java
index f487a5b0c..ddbe63ee4 100644
--- a/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java
@@ -217,7 +217,7 @@ public class PDFFactoryTestCase {
public void testMakeLink() {
PDFDocument doc = new PDFDocument("");
PDFFactory pdfFactory = new PDFFactory(doc);
- Rectangle2D rect = new Rectangle(10,20);
+ Rectangle2D rect = new Rectangle(10, 20);
PDFLink link = pdfFactory.makeLink(rect, "dest", true);
String expectedString = "<< /Type /Annot\n" + "/Subtype /Link\n" + "/Rect [ "
diff --git a/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java b/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java
index ca15926fd..2da46316e 100644
--- a/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.fop.pdf;
import org.junit.Test;