Browse Source

Fixed javadoc, checkstyle and ant warnings


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986602 13f79535-47bb-0310-9956-ffa450edef68
pull/21/head
Simon Pepping 13 years ago
parent
commit
27ab2f7f41

+ 4
- 4
build.xml View File

@@ -330,7 +330,7 @@ list of possible build targets.
<target name="compile-java" depends="init, codegen">
<!-- create directories -->
<mkdir dir="${build.classes.dir}"/>
<javac destdir="${build.classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}">
<javac destdir="${build.classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}" includeAntRuntime="true">
<src path="${build.gensrc.dir}"/>
<src path="${src.java.dir}"/>
<patternset includes="**/*.java"/>
@@ -339,7 +339,7 @@ list of possible build targets.
<classpath refid="libs-build-classpath"/>
</javac>
<mkdir dir="${build.sandbox-classes.dir}"/>
<javac destdir="${build.sandbox-classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}">
<javac destdir="${build.sandbox-classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}" includeAntRuntime="true">
<src path="${src.sandbox.dir}"/>
<patternset includes="**/*.java"/>
<patternset refid="exclude-jai"/>
@@ -351,7 +351,7 @@ list of possible build targets.
</target>
<target name="resourcegen" depends="compile-java">
<mkdir dir="${build.codegen-classes.dir}"/>
<javac destdir="${build.codegen-classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}">
<javac destdir="${build.codegen-classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}" includeAntRuntime="true">
<src path="${src.codegen.dir}/java"/>
<patternset includes="**/*.java"/>
<classpath>
@@ -724,7 +724,7 @@ list of possible build targets.
<mkdir dir="${build.dir}/test-classes"/>
<mkdir dir="${build.dir}/test-gensrc"/>
<mkdir dir="${junit.reports.dir}"/>
<javac destdir="${build.dir}/test-classes" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}">
<javac destdir="${build.dir}/test-classes" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}" includeAntRuntime="true">
<src path="${test.dir}/java"/>
<patternset refid="test-sources"/>
<classpath>

+ 1
- 1
src/codegen/unicode/java/org/apache/fop/hyphenation/UnicodeClasses.java View File

@@ -160,7 +160,7 @@ public final class UnicodeClasses {
* @param unidataPath path to the directory with UCD files
* @param outfilePath output file
* @throws IOException if the input files are not found
* @throws URISyntaxException
* @throws URISyntaxException if {@code unidataPath} cannot be converted to a URI
*/
public static void fromUCD(boolean hexcode, String unidataPath, String outfilePath)
throws IOException, URISyntaxException {

+ 1
- 1
src/java/org/apache/fop/fonts/FontCache.java View File

@@ -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

+ 1
- 1
src/java/org/apache/fop/pdf/PDFText.java View File

@@ -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
*/

+ 1
- 1
src/java/org/apache/fop/render/rtf/TextAttributesConverter.java View File

@@ -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,

+ 1
- 2
src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java View File

@@ -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);

+ 2
- 2
src/java/org/apache/fop/tools/anttasks/FileCompare.java View File

@@ -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) {

Loading…
Cancel
Save