You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by cb...@apache.org on 2020/05/12 08:43:58 UTC
svn commit: r1877638 - in /xmlgraphics/fop/trunk/fop-core/src:
main/java/org/apache/fop/svg/PDFANode.java
test/java/org/apache/fop/pdf/PDFFactoryTestCase.java
test/java/org/apache/fop/pdf/PDFGoToTestCase.java
Author: cbowditch
Date: Tue May 12 08:43:58 2020
New Revision: 1877638
URL: http://svn.apache.org/viewvc?rev=1877638&view=rev
Log:
FOP-1648; fix checkstyle
Modified:
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java
xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java
xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java
Modified: xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java?rev=1877638&r1=1877637&r2=1877638&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java (original)
+++ xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/svg/PDFANode.java Tue May 12 08:43:58 2020
@@ -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;
/**
Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java?rev=1877638&r1=1877637&r2=1877638&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java (original)
+++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java Tue May 12 08:43:58 2020
@@ -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 [ "
Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java?rev=1877638&r1=1877637&r2=1877638&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java (original)
+++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFGoToTestCase.java Tue May 12 08:43:58 2020
@@ -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;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org