git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276313 13f79535-47bb-0310-9956-ffa450edef68master
@@ -215,7 +215,7 @@ public class AntTypeDefinition { | |||||
} | } | ||||
/** | /** | ||||
* check if the attributes are correct | |||||
* Checks if the attributes are correct. | |||||
* <dl> | * <dl> | ||||
* <li>if the class can be created.</li> | * <li>if the class can be created.</li> | ||||
* <li>if an adapter class can be created</li> | * <li>if an adapter class can be created</li> | ||||
@@ -235,9 +235,9 @@ public class ComponentHelper { | |||||
} | } | ||||
/** | /** | ||||
* Initialization code - implementing the original ant component | |||||
* This method is initialization code implementing the original ant component | |||||
* loading from /org/apache/tools/ant/taskdefs/default.properties | * loading from /org/apache/tools/ant/taskdefs/default.properties | ||||
* and .../types/default.properties | |||||
* and /org/apache/tools/ant/types/default.properties. | |||||
*/ | */ | ||||
public void initDefaultDefinitions() { | public void initDefaultDefinitions() { | ||||
initTasks(); | initTasks(); | ||||
@@ -169,9 +169,9 @@ public class PropertyHelper { | |||||
/** Get a property. If all hooks return null, the default | /** Get a property. If all hooks return null, the default | ||||
* tables will be used. | * tables will be used. | ||||
* | * | ||||
* @param ns | |||||
* @param name | |||||
* @return | |||||
* @param ns namespace of the sought property | |||||
* @param name name of the sought property | |||||
* @return The property, if returned by a hook, or null if none. | |||||
*/ | */ | ||||
public Object getPropertyHook(String ns, String name, boolean user) { | public Object getPropertyHook(String ns, String name, boolean user) { | ||||
if (getNext() != null) { | if (getNext() != null) { | ||||
@@ -20,7 +20,7 @@ import java.io.IOException; | |||||
import java.io.Reader; | import java.io.Reader; | ||||
/** | /** | ||||
* Converts non latin characters to unicode escapes | |||||
* This method converts non-latin characters to unicode escapes. | |||||
* Useful to load properties containing non latin | * Useful to load properties containing non latin | ||||
* Example: | * Example: | ||||
* | * | ||||
@@ -317,8 +317,8 @@ public class ProjectHelper2 extends ProjectHelper { | |||||
} | } | ||||
/** | /** | ||||
* Called when this element and all elements nested into it have been | |||||
* handled (i.e. at the </end_tag_of_the_element> ). | |||||
* This method is called when this element and all elements nested into it have been | |||||
* handled. I.e., this happens at the </end_tag_of_the_element>. | |||||
* @param uri the namespace uri for this element | * @param uri the namespace uri for this element | ||||
* @param tag the element name | * @param tag the element name | ||||
* @param context the current context | * @param context the current context | ||||
@@ -599,7 +599,7 @@ public abstract class AbstractCvsTask extends Task { | |||||
} | } | ||||
/** | /** | ||||
* add a command line argument to an external command | |||||
* This method adds a command line argument to an external command. | |||||
* | * | ||||
* I do not understand what this method does in this class ??? | * I do not understand what this method does in this class ??? | ||||
* particularly not why it is public ???? | * particularly not why it is public ???? | ||||
@@ -357,9 +357,9 @@ public class ExecTask extends Task { | |||||
/** | /** | ||||
* Attempt to figure out where the executable is so that we can feed | |||||
* the full path - first try basedir, then the exec dir and then | |||||
* fallback to the straight executable name (i.e. on ther path) | |||||
* The method attempts to figure out where the executable is so that we can feed | |||||
* the full path. We first try basedir, then the exec dir, and then | |||||
* fallback to the straight executable name (i.e. on ther path). | |||||
* | * | ||||
* @param exec the name of the executable | * @param exec the name of the executable | ||||
* @param searchPath if true, the excutable will be looked up in | * @param searchPath if true, the excutable will be looked up in | ||||
@@ -41,7 +41,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { | |||||
* Construct a new <CODE>PumpStreamHandler</CODE>. | * Construct a new <CODE>PumpStreamHandler</CODE>. | ||||
* @param out the output <CODE>OutputStream</CODE>. | * @param out the output <CODE>OutputStream</CODE>. | ||||
* @param err the error <CODE>OutputStream</CODE>. | * @param err the error <CODE>OutputStream</CODE>. | ||||
* @param in the input <CODE>InputStream</CODE>. | |||||
* @param input the input <CODE>InputStream</CODE>. | |||||
*/ | */ | ||||
public PumpStreamHandler(OutputStream out, OutputStream err, | public PumpStreamHandler(OutputStream out, OutputStream err, | ||||
InputStream input) { | InputStream input) { | ||||
@@ -360,7 +360,7 @@ public class Redirector { | |||||
/** | /** | ||||
* Set the input <CODE>FilterChain</CODE>s. | * Set the input <CODE>FilterChain</CODE>s. | ||||
* | * | ||||
* @param <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>. | |||||
* @param inputFilterChains <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>. | |||||
*/ | */ | ||||
public synchronized void setInputFilterChains(Vector inputFilterChains) { | public synchronized void setInputFilterChains(Vector inputFilterChains) { | ||||
this.inputFilterChains = inputFilterChains; | this.inputFilterChains = inputFilterChains; | ||||
@@ -369,7 +369,7 @@ public class Redirector { | |||||
/** | /** | ||||
* Set the output <CODE>FilterChain</CODE>s. | * Set the output <CODE>FilterChain</CODE>s. | ||||
* | * | ||||
* @param <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>. | |||||
* @param outputFilterChains <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>. | |||||
*/ | */ | ||||
public void setOutputFilterChains(Vector outputFilterChains) { | public void setOutputFilterChains(Vector outputFilterChains) { | ||||
this.outputFilterChains = outputFilterChains; | this.outputFilterChains = outputFilterChains; | ||||
@@ -378,7 +378,7 @@ public class Redirector { | |||||
/** | /** | ||||
* Set the error <CODE>FilterChain</CODE>s. | * Set the error <CODE>FilterChain</CODE>s. | ||||
* | * | ||||
* @param <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>. | |||||
* @param errorFilterChains <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>. | |||||
*/ | */ | ||||
public void setErrorFilterChains(Vector errorFilterChains) { | public void setErrorFilterChains(Vector errorFilterChains) { | ||||
this.errorFilterChains = errorFilterChains; | this.errorFilterChains = errorFilterChains; | ||||
@@ -197,9 +197,10 @@ public class SubAnt | |||||
} | } | ||||
/** | /** | ||||
* Build file name, to use in conjunction with directories.<br/> | |||||
* Defaults to "build.xml".<br/> | |||||
* If <code>genericantfile</code> is set, this attribute is ignored. | |||||
* This method builds the file name to use in conjunction with directories. | |||||
* | |||||
* <p>Defaults to "build.xml". | |||||
* If <code>genericantfile</code> is set, this attribute is ignored.</p> | |||||
* | * | ||||
* @param antfile the short build file name. Defaults to "build.xml". | * @param antfile the short build file name. Defaults to "build.xml". | ||||
*/ | */ | ||||
@@ -208,9 +209,10 @@ public class SubAnt | |||||
} | } | ||||
/** | /** | ||||
* Build file path, to use in conjunction with directories.<br/> | |||||
* Use <code>genericantfile</code>, in order to run the same build file | |||||
* with different basedirs.<br/> | |||||
* This method builds a file path to use in conjunction with directories. | |||||
* | |||||
* <p>Use <code>genericantfile</code>, in order to run the same build file | |||||
* with different basedirs.</p> | |||||
* If this attribute is set, <code>antfile</code> is ignored. | * If this attribute is set, <code>antfile</code> is ignored. | ||||
* | * | ||||
* @param afile (path of the generic ant file, absolute or relative to | * @param afile (path of the generic ant file, absolute or relative to | ||||
@@ -540,7 +540,7 @@ public class Tar extends MatchingTask { | |||||
/** | /** | ||||
* The uid for the tar entry | * The uid for the tar entry | ||||
* This is not the same as the User name. | * This is not the same as the User name. | ||||
* @param userName the user name for the tar entry. | |||||
* @param uid the id of the user for the tar entry. | |||||
*/ | */ | ||||
public void setUid(int uid) { | public void setUid(int uid) { | ||||
this.uid = uid; | this.uid = uid; | ||||
@@ -572,7 +572,7 @@ public class Tar extends MatchingTask { | |||||
/** | /** | ||||
* The GID for the tar entry; optional, default="0" | * The GID for the tar entry; optional, default="0" | ||||
* This is not the same as the group name. | * This is not the same as the group name. | ||||
* @param groupName the group name string. | |||||
* @param gid the group id. | |||||
*/ | */ | ||||
public void setGid(int gid) { | public void setGid(int gid) { | ||||
this.gid = gid; | this.gid = gid; | ||||
@@ -361,7 +361,7 @@ public class CSharp extends DotnetCompile { | |||||
// end execute | // end execute | ||||
/** | /** | ||||
* how does C# separate references? with a semi colon | |||||
* Returns the delimiter which C# uses to separate references, i.e., a semi colon. | |||||
*/ | */ | ||||
public String getReferenceDelimiter() { | public String getReferenceDelimiter() { | ||||
return ";"; | return ";"; | ||||
@@ -369,8 +369,8 @@ public class CSharp extends DotnetCompile { | |||||
/** | /** | ||||
* extension is '.cs' | |||||
* @return | |||||
* This method indicates the filename extension for C# files. | |||||
* @return the file extension for C#, i.e., "cs" (without the dot). | |||||
*/ | */ | ||||
public String getFileExtension() { | public String getFileExtension() { | ||||
return "cs"; | return "cs"; | ||||
@@ -711,8 +711,8 @@ public abstract class DotnetCompile | |||||
} | } | ||||
/** | /** | ||||
* what is the executable? | |||||
* @return | |||||
* This method gets the name of the executable. | |||||
* @return the name of the executable | |||||
*/ | */ | ||||
protected String getExecutable() { | protected String getExecutable() { | ||||
return executable; | return executable; | ||||
@@ -764,7 +764,7 @@ public abstract class DotnetCompile | |||||
/** | /** | ||||
* getter for flag | * getter for flag | ||||
* @return | |||||
* @return The flag indicating whether the compilation is using a response file. | |||||
*/ | */ | ||||
public boolean isUseResponseFile() { | public boolean isUseResponseFile() { | ||||
return useResponseFile; | return useResponseFile; | ||||
@@ -922,8 +922,8 @@ public abstract class DotnetCompile | |||||
protected abstract void addCompilerSpecificOptions(NetCommand command); | protected abstract void addCompilerSpecificOptions(NetCommand command); | ||||
/** | /** | ||||
* override point for delimiting definitions | |||||
* @return | |||||
* override point for delimiting definitions. | |||||
* @return The definitions limiter, i.e., ";" | |||||
*/ | */ | ||||
public String getDefinitionsDelimiter() { | public String getDefinitionsDelimiter() { | ||||
return ";"; | return ";"; | ||||
@@ -62,10 +62,10 @@ public class DotnetDefine { | |||||
} | } | ||||
/** | /** | ||||
* get the value of this definition. Will be null if a condition | |||||
* This method gets the value of this definition. Will be null if a condition | |||||
* was declared and not met | * was declared and not met | ||||
* @param owner owning task | * @param owner owning task | ||||
* @return | |||||
* @return The value of the definition. | |||||
* @throws BuildException | * @throws BuildException | ||||
*/ | */ | ||||
public String getValue(Task owner) throws BuildException { | public String getValue(Task owner) throws BuildException { | ||||
@@ -98,7 +98,7 @@ public class DotnetResource { | |||||
/** | /** | ||||
* build the C# style parameter (which has no public/private option) | * build the C# style parameter (which has no public/private option) | ||||
* @return | |||||
* @return the built C# style parameter | |||||
*/ | */ | ||||
public String getCSharpStyleParameter() { | public String getCSharpStyleParameter() { | ||||
StringBuffer buffer = new StringBuffer(); | StringBuffer buffer = new StringBuffer(); | ||||
@@ -117,8 +117,8 @@ public class DotnetResource { | |||||
} | } | ||||
/** | /** | ||||
* get the style of param used by VB and javascript | |||||
* @return | |||||
* This method gets the style of param used by VB and javascript | |||||
* @return The style VB parameter being used. | |||||
*/ | */ | ||||
public String getVbStyleParameter() { | public String getVbStyleParameter() { | ||||
StringBuffer buffer = new StringBuffer(); | StringBuffer buffer = new StringBuffer(); | ||||
@@ -280,7 +280,7 @@ public class Ildasm extends Task { | |||||
setSourceFile(sourceFile); | setSourceFile(sourceFile); | ||||
} | } | ||||
/** | /** | ||||
* visibility options: one or more of the following, with + signs to | |||||
* This method sets the visibility options. It chooses one or more of the following, with + signs to | |||||
* concatenate them: | * concatenate them: | ||||
* <pre> | * <pre> | ||||
* pub : Public | * pub : Public | ||||
@@ -425,9 +425,9 @@ public class Ildasm extends Task { | |||||
} | } | ||||
/** | /** | ||||
* map from an encoding enum to an encoding option | |||||
* This method maps from an encoding enum to an encoding option. | |||||
* @param enumValue | * @param enumValue | ||||
* @return | |||||
* @return The encoding option indicated by the enum value. | |||||
*/ | */ | ||||
public static String getEncodingOption(String enumValue) { | public static String getEncodingOption(String enumValue) { | ||||
if (UNICODE.equals(enumValue)) { | if (UNICODE.equals(enumValue)) { | ||||
@@ -76,7 +76,9 @@ public class ImportTypelib extends Task { | |||||
private String extraOptions = null; | private String extraOptions = null; | ||||
/** | /** | ||||
* name the output file. required | |||||
* This method names the output file. | |||||
* | |||||
* This is an operation which is required to have been performed. | |||||
* @param destFile | * @param destFile | ||||
*/ | */ | ||||
public void setDestFile(File destFile) { | public void setDestFile(File destFile) { | ||||
@@ -84,7 +86,8 @@ public class ImportTypelib extends Task { | |||||
} | } | ||||
/** | /** | ||||
* what namespace is the typelib to be in. required | |||||
* This method sets what namespace the typelib is to be in. | |||||
* This is an operation which is required to have been performed. | |||||
* @param namespace | * @param namespace | ||||
*/ | */ | ||||
public void setNamespace(String namespace) { | public void setNamespace(String namespace) { | ||||
@@ -92,7 +95,8 @@ public class ImportTypelib extends Task { | |||||
} | } | ||||
/** | /** | ||||
* what is the source .tlb file? required. | |||||
* This method sets which is the source .tlb file. | |||||
* This is an operation which is required to have been performed. | |||||
* @param srcFile | * @param srcFile | ||||
*/ | */ | ||||
public void setSrcFile(File srcFile) { | public void setSrcFile(File srcFile) { | ||||
@@ -292,8 +292,7 @@ public class IPlanetDeploymentTool extends GenericDeploymentTool { | |||||
* | * | ||||
* @param ejbFiles Hashtable of EJB class (and other) files to be added to | * @param ejbFiles Hashtable of EJB class (and other) files to be added to | ||||
* the completed JAR file. | * the completed JAR file. | ||||
* @param baseName String name of the EJB JAR file to be written (without | |||||
* a filename extension). | |||||
* @param ddPrefix not used | |||||
*/ | */ | ||||
protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix) { | protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix) { | ||||
ejbFiles.put(META_DIR + IAS_DD, new File(getConfig().descriptorDir, | ejbFiles.put(META_DIR + IAS_DD, new File(getConfig().descriptorDir, | ||||
@@ -108,9 +108,9 @@ public final class Specification { | |||||
new Compatibility("REQUIRE_IMPLEMENTATION_CHANGE"); | new Compatibility("REQUIRE_IMPLEMENTATION_CHANGE"); | ||||
/** | /** | ||||
* Enum indicating that extension is incompatible with | |||||
* This enum indicates that an extension is incompatible with | |||||
* other Package Specification in ways other than other enums | * other Package Specification in ways other than other enums | ||||
* indicate). ie For example the other Package Specification | |||||
* indicate. For example, the other Package Specification | |||||
* may have a different ID. | * may have a different ID. | ||||
*/ | */ | ||||
public static final Compatibility INCOMPATIBLE = | public static final Compatibility INCOMPATIBLE = | ||||
@@ -298,7 +298,7 @@ public class JspC extends MatchingTask { | |||||
/** | /** | ||||
* Filename for web.xml. | * Filename for web.xml. | ||||
* @return | |||||
* @return The filename for web.xml. | |||||
*/ | */ | ||||
public File getWebxml() { | public File getWebxml() { | ||||
return this.webxml; | return this.webxml; | ||||
@@ -27,8 +27,8 @@ import org.apache.tools.ant.Project; | |||||
import org.apache.tools.ant.util.StringUtils; | import org.apache.tools.ant.util.StringUtils; | ||||
/** | /** | ||||
* Syncs an existing Perforce label against the Perforce client | |||||
* or against a set of files/revisions | |||||
* This method syncs an existing Perforce label against the Perforce client | |||||
* or against a set of files/revisions. | |||||
* | * | ||||
* | * | ||||
* Example Usage: | * Example Usage: | ||||
@@ -482,7 +482,7 @@ public abstract class TreeBasedTask extends StarTeamTask { | |||||
/** | /** | ||||
* returns the label being used | * returns the label being used | ||||
* | * | ||||
* @return | |||||
* @return the label being used | |||||
*/ | */ | ||||
protected Label getLabelInUse() { | protected Label getLabelInUse() { | ||||
return this.labelInUse; | return this.labelInUse; | ||||
@@ -277,7 +277,7 @@ public class Assertions extends DataType implements Cloneable { | |||||
/** | /** | ||||
* create a full command string from this class | * create a full command string from this class | ||||
* @throws BuildException in case of trouble | * @throws BuildException in case of trouble | ||||
* @return | |||||
* @return The command string | |||||
*/ | */ | ||||
public String toCommand() { | public String toCommand() { | ||||
//catch invalidness | //catch invalidness | ||||
@@ -452,8 +452,8 @@ public class Commandline implements Cloneable { | |||||
} | } | ||||
/** | /** | ||||
* a deep clone of the contained object. | |||||
* @return | |||||
* Generate a deep clone of the contained object. | |||||
* @return a clone of the contained object | |||||
*/ | */ | ||||
public Object clone() { | public Object clone() { | ||||
try { | try { | ||||
@@ -115,9 +115,9 @@ public class CommandlineJava implements Cloneable { | |||||
} | } | ||||
/** | /** | ||||
* get the size of the sysproperties instance. This merges all | |||||
* This method gets the size of the sysproperties instance. This merges all | |||||
* property sets, so is not an O(1) operation. | * property sets, so is not an O(1) operation. | ||||
* @return | |||||
* @return the size of the sysproperties instance | |||||
*/ | */ | ||||
public int size() { | public int size() { | ||||
Properties p = mergePropertySets(); | Properties p = mergePropertySets(); | ||||
@@ -458,7 +458,7 @@ public class CommandlineJava implements Cloneable { | |||||
/** | /** | ||||
* Get the VM command parameters, including memory settings | * Get the VM command parameters, including memory settings | ||||
* @return | |||||
* @return the VM command parameters | |||||
*/ | */ | ||||
protected Commandline getActualVMCommand() { | protected Commandline getActualVMCommand() { | ||||
Commandline actualVMCommand = (Commandline) vmCommand.clone(); | Commandline actualVMCommand = (Commandline) vmCommand.clone(); | ||||
@@ -557,7 +557,7 @@ public class CommandlineJava implements Cloneable { | |||||
/** | /** | ||||
* get the system properties object | * get the system properties object | ||||
* @return | |||||
* @return The system properties object | |||||
*/ | */ | ||||
public SysProperties getSystemProperties() { | public SysProperties getSystemProperties() { | ||||
return sysProperties; | return sysProperties; | ||||
@@ -78,7 +78,7 @@ public class ClasspathUtils { | |||||
* | * | ||||
* @param p | * @param p | ||||
* @param ref | * @param ref | ||||
* @return | |||||
* @return The class loader | |||||
*/ | */ | ||||
public static ClassLoader getClassLoaderForPath( | public static ClassLoader getClassLoaderForPath( | ||||
Project p, Reference ref) { | Project p, Reference ref) { | ||||
@@ -98,7 +98,7 @@ public class ClasspathUtils { | |||||
* @param reverseLoader if set to true this new loader will take | * @param reverseLoader if set to true this new loader will take | ||||
* precedence over it's parent (which is contra the regular | * precedence over it's parent (which is contra the regular | ||||
* classloader behaviour) | * classloader behaviour) | ||||
* @return | |||||
* @return The class loader | |||||
*/ | */ | ||||
public static ClassLoader getClassLoaderForPath( | public static ClassLoader getClassLoaderForPath( | ||||
Project p, Reference ref, boolean reverseLoader) { | Project p, Reference ref, boolean reverseLoader) { | ||||
@@ -123,7 +123,7 @@ public class ClasspathUtils { | |||||
* | * | ||||
* @param path | * @param path | ||||
* @param loaderId | * @param loaderId | ||||
* @return | |||||
* @return The class loader | |||||
*/ | */ | ||||
public static ClassLoader getClassLoaderForPath( | public static ClassLoader getClassLoaderForPath( | ||||
Project p, Path path, String loaderId) { | Project p, Path path, String loaderId) { | ||||
@@ -140,7 +140,7 @@ public class ClasspathUtils { | |||||
* | * | ||||
* @param path | * @param path | ||||
* @param loaderId | * @param loaderId | ||||
* @return | |||||
* @return The class loader | |||||
*/ | */ | ||||
public static ClassLoader getClassLoaderForPath( | public static ClassLoader getClassLoaderForPath( | ||||
Project p, Path path, String loaderId, boolean reverseLoader) { | Project p, Path path, String loaderId, boolean reverseLoader) { | ||||
@@ -199,7 +199,7 @@ public class ClasspathUtils { | |||||
* property and should be used with caution.</p> | * property and should be used with caution.</p> | ||||
* @param path the classpath for this loader | * @param path the classpath for this loader | ||||
* @param reverseLoader | * @param reverseLoader | ||||
* @return | |||||
* @return The fresh, different, not used before class loader. | |||||
*/ | */ | ||||
public static ClassLoader getUniqueClassLoaderForPath( | public static ClassLoader getUniqueClassLoaderForPath( | ||||
Project p, | Project p, | ||||
@@ -225,7 +225,7 @@ public class ClasspathUtils { | |||||
* | * | ||||
* @param className the full qualified class name to load. | * @param className the full qualified class name to load. | ||||
* @param userDefinedLoader the classloader to use. | * @param userDefinedLoader the classloader to use. | ||||
* @return | |||||
* @return The fresh object instance | |||||
* @throws BuildException when loading or instantiation failed. | * @throws BuildException when loading or instantiation failed. | ||||
*/ | */ | ||||
public static Object newInstance( | public static Object newInstance( | ||||
@@ -312,7 +312,7 @@ public class ClasspathUtils { | |||||
} | } | ||||
/** | /** | ||||
* Delegate method handling the @classpath attribute | |||||
* This method is a Delegate method handling the @classpath attribute. | |||||
* | * | ||||
* <p>This attribute can set a path to add to the classpath</p> | * <p>This attribute can set a path to add to the classpath</p> | ||||
* | * | ||||
@@ -332,7 +332,7 @@ public class ClasspathUtils { | |||||
* <p>This nested path-like structure can set a path to add to the | * <p>This nested path-like structure can set a path to add to the | ||||
* classpath</p> | * classpath</p> | ||||
* | * | ||||
* @return | |||||
* @return the created path | |||||
*/ | */ | ||||
public Path createClasspath() { | public Path createClasspath() { | ||||
if (this.classpath == null) { | if (this.classpath == null) { | ||||
@@ -396,7 +396,7 @@ public class ClasspathUtils { | |||||
/** | /** | ||||
* Finds or creates the classloader for this | * Finds or creates the classloader for this | ||||
* @return | |||||
* @return The class loader | |||||
*/ | */ | ||||
public ClassLoader getClassLoader() { | public ClassLoader getClassLoader() { | ||||
ClassLoader cl; | ClassLoader cl; | ||||
@@ -155,7 +155,7 @@ public class ZipOutputStream extends FilterOutputStream { | |||||
private static final byte[] LZERO = {0, 0, 0, 0}; | private static final byte[] LZERO = {0, 0, 0, 0}; | ||||
/** | /** | ||||
* Holds the offsets of the LFH starts for each entry | |||||
* Holds the offsets of the LFH starts for each entry. | |||||
* | * | ||||
* @since 1.1 | * @since 1.1 | ||||
*/ | */ | ||||
@@ -173,7 +173,7 @@ public class ZipOutputStream extends FilterOutputStream { | |||||
private String encoding = null; | private String encoding = null; | ||||
/** | /** | ||||
* Deflater object for output | |||||
* This Deflater object is used for output. | |||||
* | * | ||||
* <p>This attribute is only protected to provide a level of API | * <p>This attribute is only protected to provide a level of API | ||||
* backwards compatibility. This class used to extend {@link | * backwards compatibility. This class used to extend {@link | ||||
@@ -185,7 +185,7 @@ public class ZipOutputStream extends FilterOutputStream { | |||||
protected Deflater def = new Deflater(Deflater.DEFAULT_COMPRESSION, true); | protected Deflater def = new Deflater(Deflater.DEFAULT_COMPRESSION, true); | ||||
/** | /** | ||||
* Deflater buffer | |||||
* This buffer servers as a Deflater. | |||||
* | * | ||||
* <p>This attribute is only protected to provide a level of API | * <p>This attribute is only protected to provide a level of API | ||||
* backwards compatibility. This class used to extend {@link | * backwards compatibility. This class used to extend {@link | ||||
@@ -197,7 +197,7 @@ public class ZipOutputStream extends FilterOutputStream { | |||||
protected byte[] buf = new byte[512]; | protected byte[] buf = new byte[512]; | ||||
/** | /** | ||||
* Optional random access output | |||||
* Optional random access output. | |||||
* | * | ||||
* @since 1.14 | * @since 1.14 | ||||
*/ | */ | ||||
@@ -252,8 +252,8 @@ public class ZipOutputStream extends FilterOutputStream { | |||||
} | } | ||||
/** | /** | ||||
* Is this archive writing to a seekable stream (i.e. a random | |||||
* access file)? | |||||
* This method indicates whether this archive is writing to a seekable stream (i.e., to a random | |||||
* access file). | |||||
* | * | ||||
* <p>For seekable streams, you don't need to calculate the CRC or | * <p>For seekable streams, you don't need to calculate the CRC or | ||||
* uncompressed size for {@link #STORED STORED} entries before | * uncompressed size for {@link #STORED STORED} entries before | ||||