aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2010-08-18 09:05:36 +0000
committerSimon Pepping <spepping@apache.org>2010-08-18 09:05:36 +0000
commitb69448b24b96fc7320127c480ada62fbabe62ce7 (patch)
tree58f5b2ece08b2bb6a6e03a06e71800f7f9e2b50e /src/java/org/apache/fop
parent18b1b9c7100b90068343d99a1520029f2e149969 (diff)
downloadxmlgraphics-fop-b69448b24b96fc7320127c480ada62fbabe62ce7.tar.gz
xmlgraphics-fop-b69448b24b96fc7320127c480ada62fbabe62ce7.zip
Fixed javadoc, checkstyle and ant warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986602 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/fonts/FontCache.java2
-rw-r--r--src/java/org/apache/fop/pdf/PDFText.java2
-rw-r--r--src/java/org/apache/fop/render/rtf/TextAttributesConverter.java2
-rw-r--r--src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java3
-rw-r--r--src/java/org/apache/fop/tools/anttasks/FileCompare.java4
5 files changed, 6 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/fonts/FontCache.java b/src/java/org/apache/fop/fonts/FontCache.java
index 0b71e6294..29470a2a9 100644
--- a/src/java/org/apache/fop/fonts/FontCache.java
+++ b/src/java/org/apache/fop/fonts/FontCache.java
@@ -77,7 +77,7 @@ public final class FontCache implements Serializable {
* mapping of font url -> file modified date (for all fonts that have failed
* to load)
*/
- private Map failedFontMap/* <String, Long> */= null;
+ private Map failedFontMap/* <String, Long>*/ = null;
/**
* Default constructor
diff --git a/src/java/org/apache/fop/pdf/PDFText.java b/src/java/org/apache/fop/pdf/PDFText.java
index d7d80fbe0..9566f60da 100644
--- a/src/java/org/apache/fop/pdf/PDFText.java
+++ b/src/java/org/apache/fop/pdf/PDFText.java
@@ -323,7 +323,7 @@ public class PDFText extends PDFObject {
/**
* Converts a text to PDF's "string" data type. Unsupported characters get converted to '?'
* characters (similar to what the Java "US-ASCII" encoding does).
- * @see {@link #toPDFString(CharSequence, char)}
+ * @see #toPDFString(CharSequence, char)
* @param text the text to convert
* @return the converted string
*/
diff --git a/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java b/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java
index ee840b4aa..1b7e21bd3 100644
--- a/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java
+++ b/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java
@@ -442,7 +442,7 @@ final class TextAttributesConverter {
/**
* Reads background-color from bl and writes it to rtfAttr.
*
- * @param bph the CommonBorderPaddingBackground from which the properties are read
+ * @param bpb the CommonBorderPaddingBackground from which the properties are read
* @param rtfAttr the RtfAttributes object the attributes are written to
*/
private static void attrBackgroundColor(CommonBorderPaddingBackground bpb,
diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java
index ed4aa64a9..1a71ed670 100644
--- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java
+++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java
@@ -41,8 +41,7 @@ public class RtfFootnote extends RtfContainer
* Create an RTF list item as a child of given container with default attributes.
* @param parent a container
* @param w a writer
- * @return a text run
- * @throw IOException if not caught
+ * @throws IOException if not caught
*/
RtfFootnote(RtfContainer parent, Writer w) throws IOException {
super(parent, w);
diff --git a/src/java/org/apache/fop/tools/anttasks/FileCompare.java b/src/java/org/apache/fop/tools/anttasks/FileCompare.java
index 44ed56f24..83b0aa896 100644
--- a/src/java/org/apache/fop/tools/anttasks/FileCompare.java
+++ b/src/java/org/apache/fop/tools/anttasks/FileCompare.java
@@ -119,8 +119,8 @@ public class FileCompare {
/**
* Does a file size compare of two files
- * @param file1 the first file to compare
- * @param file2 the second file to compare
+ * @param oldFile the first file to compare
+ * @param newFile the second file to compare
* @return true if files are same length, false otherwise
*/
private static boolean compareFileSize(File oldFile, File newFile) {