From: Chris Bowditch Date: Tue, 12 May 2020 08:43:58 +0000 (+0000) Subject: FOP-1648; fix checkstyle X-Git-Tag: fop-2_6~29 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=874b4aac6c371ed0a8c6e39ec4b042bf54f8de6d;p=xmlgraphics-fop.git FOP-1648; fix checkstyle git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1877638 13f79535-47bb-0310-9956-ffa450edef68 --- 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;