diff options
author | Glenn Adams <gadams@apache.org> | 2012-03-03 00:18:45 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-03-03 00:18:45 +0000 |
commit | 2ed4c2e0346fe366c48ab12acc987f30c956a784 (patch) | |
tree | bb553bb94d374a9e56c61d14152397db189649c3 /src/java/org/apache/fop/pdf | |
parent | eff48e4a891b2c8159ac81d13cae4e65e444cce2 (diff) | |
download | xmlgraphics-fop-2ed4c2e0346fe366c48ab12acc987f30c956a784.tar.gz xmlgraphics-fop-2ed4c2e0346fe366c48ab12acc987f30c956a784.zip |
enable ImportOrder rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r-- | src/java/org/apache/fop/pdf/ASCII85Filter.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/ASCIIHexFilter.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/InMemoryStreamCache.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFCharProcs.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFFilter.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFGState.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFInfo.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFPages.java | 3 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFPattern.java | 5 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFResources.java | 1 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/StreamCache.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/TempFileStreamCache.java | 6 |
12 files changed, 14 insertions, 17 deletions
diff --git a/src/java/org/apache/fop/pdf/ASCII85Filter.java b/src/java/org/apache/fop/pdf/ASCII85Filter.java index df82c5179..7a86f57ee 100644 --- a/src/java/org/apache/fop/pdf/ASCII85Filter.java +++ b/src/java/org/apache/fop/pdf/ASCII85Filter.java @@ -19,8 +19,8 @@ package org.apache.fop.pdf; -import java.io.OutputStream; import java.io.IOException; +import java.io.OutputStream; import org.apache.xmlgraphics.util.io.ASCII85OutputStream; diff --git a/src/java/org/apache/fop/pdf/ASCIIHexFilter.java b/src/java/org/apache/fop/pdf/ASCIIHexFilter.java index 01dc75190..3456cf1ae 100644 --- a/src/java/org/apache/fop/pdf/ASCIIHexFilter.java +++ b/src/java/org/apache/fop/pdf/ASCIIHexFilter.java @@ -19,8 +19,8 @@ package org.apache.fop.pdf; -import java.io.OutputStream; import java.io.IOException; +import java.io.OutputStream; import org.apache.xmlgraphics.util.io.ASCIIHexOutputStream; diff --git a/src/java/org/apache/fop/pdf/InMemoryStreamCache.java b/src/java/org/apache/fop/pdf/InMemoryStreamCache.java index 7e9a78aa4..85d265e7f 100644 --- a/src/java/org/apache/fop/pdf/InMemoryStreamCache.java +++ b/src/java/org/apache/fop/pdf/InMemoryStreamCache.java @@ -20,8 +20,8 @@ package org.apache.fop.pdf; import java.io.ByteArrayOutputStream; -import java.io.OutputStream; import java.io.IOException; +import java.io.OutputStream; /** * StreamCache implementation that uses temporary files rather than heap. diff --git a/src/java/org/apache/fop/pdf/PDFCharProcs.java b/src/java/org/apache/fop/pdf/PDFCharProcs.java index 73fe19a5e..6a423e038 100644 --- a/src/java/org/apache/fop/pdf/PDFCharProcs.java +++ b/src/java/org/apache/fop/pdf/PDFCharProcs.java @@ -19,8 +19,8 @@ package org.apache.fop.pdf; -import java.util.Map; import java.util.HashMap; +import java.util.Map; /** * class representing a /CharProcs dictionary for Type3 fonts. diff --git a/src/java/org/apache/fop/pdf/PDFFilter.java b/src/java/org/apache/fop/pdf/PDFFilter.java index c257f0da0..191e9bc66 100644 --- a/src/java/org/apache/fop/pdf/PDFFilter.java +++ b/src/java/org/apache/fop/pdf/PDFFilter.java @@ -19,8 +19,8 @@ package org.apache.fop.pdf; -import java.io.OutputStream; import java.io.IOException; +import java.io.OutputStream; /** * PDF Filter class. diff --git a/src/java/org/apache/fop/pdf/PDFGState.java b/src/java/org/apache/fop/pdf/PDFGState.java index 4b997a145..fe57e39c2 100644 --- a/src/java/org/apache/fop/pdf/PDFGState.java +++ b/src/java/org/apache/fop/pdf/PDFGState.java @@ -19,8 +19,8 @@ package org.apache.fop.pdf; -import java.util.Map; import java.util.Iterator; +import java.util.Map; /** * Class representing a /ExtGState object. diff --git a/src/java/org/apache/fop/pdf/PDFInfo.java b/src/java/org/apache/fop/pdf/PDFInfo.java index 14937bfd7..dabd88685 100644 --- a/src/java/org/apache/fop/pdf/PDFInfo.java +++ b/src/java/org/apache/fop/pdf/PDFInfo.java @@ -19,9 +19,9 @@ package org.apache.fop.pdf; -import java.util.Date; import java.io.ByteArrayOutputStream; import java.io.IOException; +import java.util.Date; /** * class representing an /Info object diff --git a/src/java/org/apache/fop/pdf/PDFPages.java b/src/java/org/apache/fop/pdf/PDFPages.java index bef4bdbc4..1f09fbca6 100644 --- a/src/java/org/apache/fop/pdf/PDFPages.java +++ b/src/java/org/apache/fop/pdf/PDFPages.java @@ -19,9 +19,8 @@ package org.apache.fop.pdf; -// Java -import java.util.List; import java.util.ArrayList; +import java.util.List; /** * class representing a /Pages object. diff --git a/src/java/org/apache/fop/pdf/PDFPattern.java b/src/java/org/apache/fop/pdf/PDFPattern.java index 74f56377e..378b1cf8b 100644 --- a/src/java/org/apache/fop/pdf/PDFPattern.java +++ b/src/java/org/apache/fop/pdf/PDFPattern.java @@ -19,10 +19,9 @@ package org.apache.fop.pdf; -// Java -import java.util.List; -import java.io.OutputStream; import java.io.IOException; +import java.io.OutputStream; +import java.util.List; /** * class representing a PDF Function. diff --git a/src/java/org/apache/fop/pdf/PDFResources.java b/src/java/org/apache/fop/pdf/PDFResources.java index 317f703e1..70f9af504 100644 --- a/src/java/org/apache/fop/pdf/PDFResources.java +++ b/src/java/org/apache/fop/pdf/PDFResources.java @@ -28,6 +28,7 @@ import java.util.Map; import java.util.Set; import org.apache.xmlgraphics.java2d.color.profile.ColorProfileUtil; + import org.apache.fop.fonts.FontDescriptor; import org.apache.fop.fonts.FontInfo; import org.apache.fop.fonts.Typeface; diff --git a/src/java/org/apache/fop/pdf/StreamCache.java b/src/java/org/apache/fop/pdf/StreamCache.java index 95d21ab80..6fa687f23 100644 --- a/src/java/org/apache/fop/pdf/StreamCache.java +++ b/src/java/org/apache/fop/pdf/StreamCache.java @@ -19,8 +19,8 @@ package org.apache.fop.pdf; -import java.io.OutputStream; import java.io.IOException; +import java.io.OutputStream; /** * Interface used to store the bytes for a PDFStream. It's actually a generic diff --git a/src/java/org/apache/fop/pdf/TempFileStreamCache.java b/src/java/org/apache/fop/pdf/TempFileStreamCache.java index 9920a334d..18a7a8b29 100644 --- a/src/java/org/apache/fop/pdf/TempFileStreamCache.java +++ b/src/java/org/apache/fop/pdf/TempFileStreamCache.java @@ -19,13 +19,11 @@ package org.apache.fop.pdf; -// Java +import java.io.File; +import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import java.io.IOException; -import java.io.File; -//Commons import org.apache.commons.io.IOUtils; /** |