diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 8101dd9c..da347c14 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -49,4 +49,4 @@ jobs:
java-version: ${{ matrix.java }}
- name: Build with Maven
- run: mvn verify -e -B -V
+ run: mvn verify javadoc:javadoc -e -B -V
diff --git a/pom.xml b/pom.xml
index 7e414e57..e3f738d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@ limitations under the License.
+ * Returns a {@link Collection} containing the intersection of the given {@link Collection}s.
+ * true
if the given object is also a map
* and the two Maps represent the same mappings.
*
* @param o object to be compared for equality with this map.
@@ -437,4 +437,4 @@ public int hashCode()
{
return _backingMap.hashCode();
}
-}
\ No newline at end of file
+}
diff --git a/src/main/java/org/codehaus/plexus/util/CollectionUtils.java b/src/main/java/org/codehaus/plexus/util/CollectionUtils.java
index d7e745b4..b16200fd 100644
--- a/src/main/java/org/codehaus/plexus/util/CollectionUtils.java
+++ b/src/main/java/org/codehaus/plexus/util/CollectionUtils.java
@@ -28,7 +28,7 @@
/**
* @author olamy
- * @version $Id$
+ *
*/
public class CollectionUtils
{
@@ -44,6 +44,8 @@ public class CollectionUtils
*
* @param dominantMap Dominant Map.
* @param recessiveMap Recessive Map.
+ * @param a - b
. The cardinality of each element e in
* the returned {@link Collection} will be the cardinality of e in a minus the cardinality of e
* in b, or zero, whichever is greater.
*
* @param a The start collection
* @param b The collection that will be subtracted
+ * @param null
indicates that the element does not appear in the given {@link Collection}.
*
* @param col The collection to count cardinalities for
+ * @param
Throwable
.
* @throws NullPointerException if the method names array is null or contains null
* @throws NullPointerException if the throwable is null
@@ -343,7 +344,7 @@ public static int getThrowableCount( Throwable throwable )
*/
public static Throwable[] getThrowables( Throwable throwable )
{
- ListClass
to look for
+ * @return index of the stack matching the type
* @see #indexOfThrowable(Throwable, Class, int)
*/
public static int indexOfThrowable( Throwable throwable, Class type )
@@ -406,6 +409,8 @@ public static int indexOfThrowable( Throwable throwable, Class type, int fromInd
* exception and continues with stack frames until the wrapper exception is caught and wrapped again, etc.
*
* The method is equivalent to t.printStackTrace() for throwables that don't have nested causes.
+ * @param t the exception
+ * @param stream the stream
*/
public static void printRootCauseStackTrace( Throwable t, PrintStream stream )
{
@@ -419,6 +424,7 @@ public static void printRootCauseStackTrace( Throwable t, PrintStream stream )
/**
* Equivalent to printRootCauseStackTrace(t, System.err)
+ * @param t the exception
*/
public static void printRootCauseStackTrace( Throwable t )
{
@@ -427,6 +433,8 @@ public static void printRootCauseStackTrace( Throwable t )
/**
* Same as printRootCauseStackTrace(t, stream), except it takes a PrintWriter as an argument.
+ * @param t the cause
+ * @param writer the writer
*/
public static void printRootCauseStackTrace( Throwable t, PrintWriter writer )
{
@@ -441,12 +449,14 @@ public static void printRootCauseStackTrace( Throwable t, PrintWriter writer )
/**
* Creates a compact stack trace for the root cause of the supplied throwable. See
* This class provides basic facilities for manipulating files and file paths. Methods exist to retrieve the components of a typical file path. For example
* There are also methods to {@link #catPath concatenate two paths}, {@link #resolveFile resolve a path relative to a
* File} and {@link #normalize} a path. There are methods to create a {@link #toFile File from a URL}, copy a {@link #copyFileToDirectory File to a
* directory}, copy a {@link #copyFile File to another File}, copy a {@link #copyURLToFile URL's contents to a File}, as
@@ -112,7 +112,7 @@
* @author Christoph.Reck
* @author Peter Donald
* @author Jeff Turner
- * @version $Id$
+ *
*/
public class FileUtils
{
@@ -988,6 +988,7 @@ public static void copyFileToDirectoryIfModified( final File source, final File
* @param sourceBase The basedir used for the directory scan
* @param dirs The getIncludedDirs from the dirscanner
* @param destination The base dir of the output structure
+ * @throws IOException io issue
*/
public static void mkDirs( final File sourceBase, String[] dirs, final File destination )
throws IOException
@@ -1696,7 +1697,7 @@ public static long sizeOfDirectory( final File directory )
* @param includes the includes pattern, comma separated
* @param excludes the excludes pattern, comma separated
* @return a list of File objects
- * @throws IOException
+ * @throws IOException io issue
* @see #getFileNames(File, String, String, boolean)
*/
public static List
+ * a web page (again mimicking Anakia's behavior). This method is thread-safe.
* Center a String in a larger String of size
+ *
* Uses spaces as the value to buffer the String with. Equivalent to
* Specifically:
*
* If str is less than max characters long, return it. Else abbreviate it to (substring(str, 0, max-3) + "..."). If
* maxWidth is less than 3, throw an IllegalArgumentException. In no case will it return a string of length greater
* than maxWidth.
- *
+ * @param s string
* @param maxWidth maximum length of result string
**/
public static String abbreviate( String s, int maxWidth )
@@ -2157,12 +2158,12 @@ public static String abbreviate( String s, int maxWidth )
}
/**
- * Turn "Now is the time for all good men" into "...is the time for..."
- *
+ * @return Turn "Now is the time for all good men" into "...is the time for..."
+ *
* Works like abbreviate(String, int), but allows you to specify a "left edge" offset. Note that this left edge is
* not necessarily going to be the leftmost character in the result, or the first character following the ellipses,
* but it will appear somewhere in the result. In no case will it return a string of length greater than maxWidth.
- *
+ * @param s string
* @param offset left edge of source string
* @param maxWidth maximum length of result string
**/
@@ -2207,7 +2208,8 @@ public static String abbreviate( String s, int offset, int maxWidth )
* second string, starting from where it's different from the first.)
*
* E.g. strdiff("i am a machine", "i am a robot") -> "robot"
- *
+ * @param s1 string
+ * @param s2 string
* @return the portion of s2 where it differs from s1; returns the empty string ("") if they are equal
**/
public static String difference( String s1, String s2 )
@@ -2225,7 +2227,8 @@ public static String difference( String s1, String s2 )
*
* E.g. strdiff("i am a machine", "i am a robot") -> 7
* Any value less than 0 is automatically converted to 0printRootCauseStackTrace(Throwable t, PrintStream s)
+ * @param t the cause
+ * @return the Stack
*/
public static String[] getRootCauseStackTrace( Throwable t )
{
Throwable[] throwables = getThrowables( t );
int count = throwables.length;
- ArrayListPath-related methods
+ * Path-related methods
*
* /www/hosted/mysite/index.html
, can be broken into:
@@ -95,7 +95,7 @@
* File-related methods
+ * File-related methods
*
* InputStream
to an OutputStream
.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final InputStream input, final OutputStream output )
throws IOException
@@ -158,8 +161,10 @@ public static void copy( final InputStream input, final OutputStream output )
/**
* Copy bytes from an InputStream
to an OutputStream
.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final InputStream input, final OutputStream output, final int bufferSize )
throws IOException
@@ -174,6 +179,9 @@ public static void copy( final InputStream input, final OutputStream output, fin
/**
* Copy chars from a Reader
to a Writer
.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final Reader input, final Writer output )
throws IOException
@@ -183,8 +191,10 @@ public static void copy( final Reader input, final Writer output )
/**
* Copy chars from a Reader
to a Writer
.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final Reader input, final Writer output, final int bufferSize )
throws IOException
@@ -209,6 +219,9 @@ public static void copy( final Reader input, final Writer output, final int buff
/**
* Copy and convert bytes from an InputStream
to chars on a Writer
. The platform's default
* encoding is used for the byte-to-char conversion.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final InputStream input, final Writer output )
throws IOException
@@ -219,8 +232,10 @@ public static void copy( final InputStream input, final Writer output )
/**
* Copy and convert bytes from an InputStream
to chars on a Writer
. The platform's default
* encoding is used for the byte-to-char conversion.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final InputStream input, final Writer output, final int bufferSize )
throws IOException
@@ -232,10 +247,12 @@ public static void copy( final InputStream input, final Writer output, final int
/**
* Copy and convert bytes from an InputStream
to chars on a Writer
, using the specified
* encoding.
- *
+ * @param input to convert
+ * @param output the result
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
+ * @throws IOException io issue
*/
public static void copy( final InputStream input, final Writer output, final String encoding )
throws IOException
@@ -247,11 +264,13 @@ public static void copy( final InputStream input, final Writer output, final Str
/**
* Copy and convert bytes from an InputStream
to chars on a Writer
, using the specified
* encoding.
- *
+ * @param input to convert
+ * @param output the result
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final InputStream input, final Writer output, final String encoding, final int bufferSize )
throws IOException
@@ -264,8 +283,10 @@ public static void copy( final InputStream input, final Writer output, final Str
// InputStream -> String
/**
- * Get the contents of an InputStream
as a String. The platform's default encoding is used for the
+ * @return Get the contents of an InputStream
as a String. The platform's default encoding is used for the
* byte-to-char conversion.
+ * @param input to convert
+ * @throws IOException io issue
*/
public static String toString( final InputStream input )
throws IOException
@@ -274,10 +295,11 @@ public static String toString( final InputStream input )
}
/**
- * Get the contents of an InputStream
as a String. The platform's default encoding is used for the
+ * @return Get the contents of an InputStream
as a String. The platform's default encoding is used for the
* byte-to-char conversion.
- *
+ * @param input to convert
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static String toString( final InputStream input, final int bufferSize )
throws IOException
@@ -288,11 +310,12 @@ public static String toString( final InputStream input, final int bufferSize )
}
/**
- * Get the contents of an InputStream
as a String.
- *
+ * @return Get the contents of an InputStream
as a String.
+ * @param input to convert
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
+ * @throws IOException io issue
*/
public static String toString( final InputStream input, final String encoding )
throws IOException
@@ -301,12 +324,13 @@ public static String toString( final InputStream input, final String encoding )
}
/**
- * Get the contents of an InputStream
as a String.
- *
+ * @return Get the contents of an InputStream
as a String.
+ * @param input to convert
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static String toString( final InputStream input, final String encoding, final int bufferSize )
throws IOException
@@ -320,7 +344,9 @@ public static String toString( final InputStream input, final String encoding, f
// InputStream -> byte[]
/**
- * Get the contents of an InputStream
as a byte[]
.
+ * @return Get the contents of an InputStream
as a byte[]
.
+ * @param input to convert
+ * @throws IOException io issue
*/
public static byte[] toByteArray( final InputStream input )
throws IOException
@@ -329,9 +355,10 @@ public static byte[] toByteArray( final InputStream input )
}
/**
- * Get the contents of an InputStream
as a byte[]
.
- *
+ * @return Get the contents of an InputStream
as a byte[]
.
+ * @param input to convert
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static byte[] toByteArray( final InputStream input, final int bufferSize )
throws IOException
@@ -351,6 +378,9 @@ public static byte[] toByteArray( final InputStream input, final int bufferSize
/**
* Serialize chars from a Reader
to bytes on an OutputStream
, and flush the
* OutputStream
.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final Reader input, final OutputStream output )
throws IOException
@@ -361,8 +391,10 @@ public static void copy( final Reader input, final OutputStream output )
/**
* Serialize chars from a Reader
to bytes on an OutputStream
, and flush the
* OutputStream
.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final Reader input, final OutputStream output, final int bufferSize )
throws IOException
@@ -377,7 +409,9 @@ public static void copy( final Reader input, final OutputStream output, final in
///////////////////////////////////////////////////////////////
// Reader -> String
/**
- * Get the contents of a Reader
as a String.
+ * @return Get the contents of a Reader
as a String.
+ * @param input to convert
+ * @throws IOException io issue
*/
public static String toString( final Reader input )
throws IOException
@@ -386,9 +420,10 @@ public static String toString( final Reader input )
}
/**
- * Get the contents of a Reader
as a String.
- *
+ * @return Get the contents of a Reader
as a String.
+ * @param input to convert
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static String toString( final Reader input, final int bufferSize )
throws IOException
@@ -401,7 +436,9 @@ public static String toString( final Reader input, final int bufferSize )
///////////////////////////////////////////////////////////////
// Reader -> byte[]
/**
- * Get the contents of a Reader
as a byte[]
.
+ * @return Get the contents of a Reader
as a byte[]
.
+ * @param input to convert
+ * @throws IOException io issue
*/
public static byte[] toByteArray( final Reader input )
throws IOException
@@ -410,9 +447,10 @@ public static byte[] toByteArray( final Reader input )
}
/**
- * Get the contents of a Reader
as a byte[]
.
- *
+ * @return Get the contents of a Reader
as a byte[]
.
+ * @param input to convert
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static byte[] toByteArray( final Reader input, final int bufferSize )
throws IOException
@@ -433,6 +471,9 @@ public static byte[] toByteArray( final Reader input, final int bufferSize )
/**
* Serialize chars from a String
to bytes on an OutputStream
, and flush the
* OutputStream
.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final String input, final OutputStream output )
throws IOException
@@ -443,8 +484,10 @@ public static void copy( final String input, final OutputStream output )
/**
* Serialize chars from a String
to bytes on an OutputStream
, and flush the
* OutputStream
.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final String input, final OutputStream output, final int bufferSize )
throws IOException
@@ -462,6 +505,9 @@ public static void copy( final String input, final OutputStream output, final in
/**
* Copy chars from a String
to a Writer
.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final String input, final Writer output )
throws IOException
@@ -474,9 +520,11 @@ public static void copy( final String input, final Writer output )
* to passing a {@link java.io.BufferedInputStream} and {@link java.io.BufferedOutputStream} to
* {@link #copy(InputStream, OutputStream)}, and flushing the output stream afterwards. The streams are not closed
* after the copy.
- *
+ * @param input to convert
+ * @param output the result
* @deprecated Buffering streams is actively harmful! See the class description as to why. Use
* {@link #copy(InputStream, OutputStream)} instead.
+ * @throws IOException io issue
*/
@Deprecated
public static void bufferedCopy( final InputStream input, final OutputStream output )
@@ -491,7 +539,9 @@ public static void bufferedCopy( final InputStream input, final OutputStream out
///////////////////////////////////////////////////////////////
// String -> byte[]
/**
- * Get the contents of a String
as a byte[]
.
+ * @return Get the contents of a String
as a byte[]
.
+ * @param input to convert
+ * @throws IOException io issue
*/
public static byte[] toByteArray( final String input )
throws IOException
@@ -500,9 +550,10 @@ public static byte[] toByteArray( final String input )
}
/**
- * Get the contents of a String
as a byte[]
.
- *
+ * @return Get the contents of a String
as a byte[]
.
+ * @param input to convert
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static byte[] toByteArray( final String input, final int bufferSize )
throws IOException
@@ -523,6 +574,9 @@ public static byte[] toByteArray( final String input, final int bufferSize )
/**
* Copy and convert bytes from a byte[]
to chars on a Writer
. The platform's default
* encoding is used for the byte-to-char conversion.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final byte[] input, final Writer output )
throws IOException
@@ -533,8 +587,10 @@ public static void copy( final byte[] input, final Writer output )
/**
* Copy and convert bytes from a byte[]
to chars on a Writer
. The platform's default
* encoding is used for the byte-to-char conversion.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final byte[] input, final Writer output, final int bufferSize )
throws IOException
@@ -546,10 +602,12 @@ public static void copy( final byte[] input, final Writer output, final int buff
/**
* Copy and convert bytes from a byte[]
to chars on a Writer
, using the specified
* encoding.
- *
+ * @param input to convert
+ * @param output the result
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
+ * @throws IOException io issue
*/
public static void copy( final byte[] input, final Writer output, final String encoding )
throws IOException
@@ -561,11 +619,13 @@ public static void copy( final byte[] input, final Writer output, final String e
/**
* Copy and convert bytes from a byte[]
to chars on a Writer
, using the specified
* encoding.
- *
+ * @param input to convert
+ * @param output the result
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final byte[] input, final Writer output, final String encoding, final int bufferSize )
throws IOException
@@ -578,8 +638,10 @@ public static void copy( final byte[] input, final Writer output, final String e
// byte[] -> String
/**
- * Get the contents of a byte[]
as a String. The platform's default encoding is used for the
+ * @return Get the contents of a byte[]
as a String. The platform's default encoding is used for the
* byte-to-char conversion.
+ * @param input to convert
+ * @throws IOException io issue
*/
public static String toString( final byte[] input )
throws IOException
@@ -588,10 +650,11 @@ public static String toString( final byte[] input )
}
/**
- * Get the contents of a byte[]
as a String. The platform's default encoding is used for the
+ * @return Get the contents of a byte[]
as a String. The platform's default encoding is used for the
* byte-to-char conversion.
- *
+ * @param input to convert
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static String toString( final byte[] input, final int bufferSize )
throws IOException
@@ -602,11 +665,12 @@ public static String toString( final byte[] input, final int bufferSize )
}
/**
- * Get the contents of a byte[]
as a String.
- *
+ * @return Get the contents of a byte[]
as a String.
+ * @param input to convert
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
+ * @throws IOException io issue
*/
public static String toString( final byte[] input, final String encoding )
throws IOException
@@ -615,12 +679,14 @@ public static String toString( final byte[] input, final String encoding )
}
/**
- * Get the contents of a byte[]
as a String.
- *
+ * @return the contents of a byte[]
as a String.
+ * @param input to convert
* @param encoding The name of a supported character encoding. See the
* IANA Charset Registry for a list of valid
* encoding types.
* @param bufferSize Size of internal buffer to use.
+ *
+ * @throws IOException io issue
*/
public static String toString( final byte[] input, final String encoding, final int bufferSize )
throws IOException
@@ -635,6 +701,9 @@ public static String toString( final byte[] input, final String encoding, final
/**
* Copy bytes from a byte[]
to an OutputStream
.
+ * @param input to convert
+ * @param output the result
+ * @throws IOException io issue
*/
public static void copy( final byte[] input, final OutputStream output )
throws IOException
@@ -644,8 +713,10 @@ public static void copy( final byte[] input, final OutputStream output )
/**
* Copy bytes from a byte[]
to an OutputStream
.
- *
+ * @param input to convert
+ * @param output the result
* @param bufferSize Size of internal buffer to use.
+ * @throws IOException io issue
*/
public static void copy( final byte[] input, final OutputStream output, final int bufferSize )
throws IOException
@@ -659,6 +730,7 @@ public static void copy( final byte[] input, final OutputStream output, final in
* @param input1 the first stream
* @param input2 the second stream
* @return true if the content of the streams are equal or they both don't exist, false otherwise
+ * @throws IOException io issue
*/
public static boolean contentEquals( final InputStream input1, final InputStream input2 )
throws IOException
diff --git a/src/main/java/org/codehaus/plexus/util/LineOrientedInterpolatingReader.java b/src/main/java/org/codehaus/plexus/util/LineOrientedInterpolatingReader.java
index b22ff887..8129018f 100644
--- a/src/main/java/org/codehaus/plexus/util/LineOrientedInterpolatingReader.java
+++ b/src/main/java/org/codehaus/plexus/util/LineOrientedInterpolatingReader.java
@@ -90,7 +90,7 @@ public class LineOrientedInterpolatingReader
* @param context keyword/value pairs for interpolation.
* @param startDelim character sequence which (possibly) begins a token.
* @param endDelim character sequence which ends a token.
- * @param escapeSeq
+ * @param escapeSeq escape sequence
*/
public LineOrientedInterpolatingReader( Reader reader, Map$relativePath
* context variable. The arguments to this method may contain either forward or backward slashes as file separators.
* The relative path returned is formed using forward slashes as it is expected this path is to be used as a link in
- * a web page (again mimicking Anakia's behavior).oldPath
.
*/
public static final String getRelativeWebPath( final String oldPath, final String newPath )
@@ -278,8 +278,8 @@ public static final String getRelativeWebPath( final String oldPath, final Strin
*
* Note: On Windows based system, the /
character should be replaced by \
character.
*
- * @param oldPath
- * @param newPath
+ * @param oldPath main path
+ * @param newPath second path
* @return a relative file path from oldPath
.
*/
public static final String getRelativeFilePath( final String oldPath, final String newPath )
diff --git a/src/main/java/org/codehaus/plexus/util/ReaderFactory.java b/src/main/java/org/codehaus/plexus/util/ReaderFactory.java
index 70389d68..46041a20 100644
--- a/src/main/java/org/codehaus/plexus/util/ReaderFactory.java
+++ b/src/main/java/org/codehaus/plexus/util/ReaderFactory.java
@@ -36,7 +36,7 @@
* @author Herve Boutemy
* @see Charset
* @see Supported encodings
- * @version $Id$
+ *
* @since 1.4.3
*/
public class ReaderFactory
diff --git a/src/main/java/org/codehaus/plexus/util/ReflectionUtils.java b/src/main/java/org/codehaus/plexus/util/ReflectionUtils.java
index d43d62a6..e83488cc 100644
--- a/src/main/java/org/codehaus/plexus/util/ReflectionUtils.java
+++ b/src/main/java/org/codehaus/plexus/util/ReflectionUtils.java
@@ -32,7 +32,7 @@
* @author Michal Maczka
* @author Jesse McConnell
* @author Trygve Laugstøl
- * @version $Id$
+ *
*/
public final class ReflectionUtils
{
@@ -63,7 +63,7 @@ public static Field getFieldByNameIncludingSuperclasses( String fieldName, Class
public static Listnull
, splits on whitespace.
+ * @return an array of parsed Strings
*/
public static String[] split( String text, String separator )
{
@@ -892,7 +893,7 @@ public static String overlayString( String text, String overlay, int start, int
/**
* n
.
- * center(str, size, " ")
.
* null
.
*
- *
-
+ * @param maxSize if the pool has reached this size, any objects added are immediately disposed. If the
+ * pool is this size when the sweeper runs, then the pool is also trimmed to minSize
- this is the size the pool is trimmed totriggerSize
- this determines if the pool is trimmed when the sweeper runs. If the pool size is
- * greater or equal than this value then the pool is trimmed to minSize
.maxSize
- if the pool has reached this size, any objects added are immediately disposed. If the
- * pool is this size when the sweeper runs, then the pool is also trimmed to minSize
irrespective of
- * the triggerSize.sweepInterval
- how often the sweeper runs. Is actually the time since the sweeper last finished
- * a pass. 0 if the sweeper should not run.minSize
irrespective of
+ * the triggerSize.
+ * @param minSize - this is the size the pool is trimmed to
+ * @param triggerSize - this determines if the pool is trimmed when the sweeper runs. If the pool size is
+ * greater or equal than this value then the pool is trimmed to minSize
.
+ *
+ * @param sweepInterval how often the sweeper runs. Is actually the time since the sweeper last finished
+ * a pass. 0 if the sweeper should not run.
+ * @param intialCapacity the intial capacity
*
Return the number of arguments that preceded this marker.
+ * @return the number of arguments that preceded this marker. * *The name of the executable - if set - is counted as the very first argument.
*/ @@ -307,6 +309,7 @@ public Argument createArgument() * @param insertAtStart if true, the argument is inserted at the beginning of the list of args, otherwise it is * appended. * @deprecated Use {@link Commandline#createArg(boolean)} instead + * @return Argument the argument Object */ @Deprecated public Argument createArgument( boolean insertAtStart ) @@ -338,7 +341,7 @@ public Arg createArg() } /** - *Creates an argument object and adds it to our list of args.
+ * @return Creates an argument object and adds it to our list of args. * *Each commandline object has at most one instance of the argument class.
* @@ -360,8 +363,7 @@ public Arg createArg( boolean insertAtStart ) } /** - * Adds an argument object to our list of args. - * + * @param argument the argument * @see #addArg(Arg,boolean) */ public void addArg( Arg argument ) @@ -371,7 +373,7 @@ public void addArg( Arg argument ) /** * Adds an argument object to our list of args. - * + * @param argument the argument * @param insertAtStart if true, the argument is inserted at the beginning of the list of args, otherwise it is * appended. */ @@ -389,6 +391,7 @@ public void addArg( Arg argument, boolean insertAtStart ) /** * Sets the executable to run. + * @param executable the executable */ public void setExecutable( String executable ) { @@ -432,6 +435,8 @@ public void addArguments( String[] line ) /** * Add an environment variable + * @param name name + * @param value value */ public void addEnvironment( String name, String value ) { @@ -441,6 +446,7 @@ public void addEnvironment( String name, String value ) /** * Add system environment variables + * @throws Exception if error */ public void addSystemEnvironment() throws Exception @@ -458,7 +464,8 @@ public void addSystemEnvironment() } /** - * Return the list of environment variables + * @return String[] Return the list of environment variables + * @throws CommandLineException if error */ public String[] getEnvironmentVariables() throws CommandLineException @@ -484,8 +491,8 @@ public String[] getEnvironmentVariables() } /** - * Returns the executable and all defined arguments.addLine
, addValue
or the argument object.
+ * @return Returns all arguments defined by addLine
, addValue
or the argument object.
*/
public String[] getArguments()
{
- VectorReturn a marker.
- * + * *This marker can be used to locate a position on the commandline - to insert something for example - when all * parameters have been set. *
+ * @return Return a marker. */ public Marker createMarker() { @@ -607,6 +615,7 @@ public Marker createMarker() /** * Sets execution directory. + * @param path the working directory as String */ public void setWorkingDirectory( String path ) { @@ -616,6 +625,7 @@ public void setWorkingDirectory( String path ) /** * Sets execution directory. + * @param workingDirectory the File used as working directory */ public void setWorkingDirectory( File workingDirectory ) { @@ -637,6 +647,8 @@ public File getWorkingDirectory() /** * Executes the command. + * @return the Process + * @throws CommandLineException if error */ public Process execute() throws CommandLineException @@ -709,7 +721,7 @@ public Properties getSystemEnvVars() * Allows to set the shell to be used in this command line. Shell usage is only desirable when generating code for * remote execution. * - * @param shell + * @param shell Shell to use * @since 1.2 */ public void setShell( Shell shell ) @@ -722,6 +734,7 @@ public void setShell( Shell shell ) * execution. * * @since 1.2 + * @return the Shell */ public Shell getShell() { @@ -729,6 +742,9 @@ public Shell getShell() } /** + * @param toProcess the process + * @return the command line arguments + * @throws Exception if error happen * @deprecated Use {@link CommandLineUtils#translateCommandline(String)} instead. */ @Deprecated @@ -739,6 +755,9 @@ public static String[] translateCommandline( String toProcess ) } /** + * @param argument the argument + * @return the quote arg + * @throws CommandLineException if error happen * @deprecated Use {@link CommandLineUtils#quote(String)} instead. */ @Deprecated @@ -750,6 +769,8 @@ public static String quoteArgument( String argument ) /** * @deprecated Use {@link CommandLineUtils#toString(String[])} instead. + * @param line the lines + * @return lines as single String */ @Deprecated public static String toString( String[] line ) diff --git a/src/main/java/org/codehaus/plexus/util/cli/DefaultConsumer.java b/src/main/java/org/codehaus/plexus/util/cli/DefaultConsumer.java index c36f64ee..802dfb02 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/DefaultConsumer.java +++ b/src/main/java/org/codehaus/plexus/util/cli/DefaultConsumer.java @@ -20,7 +20,7 @@ /** * @author Emmanuel Venisse - * @version $Id$ + * */ public class DefaultConsumer implements StreamConsumer diff --git a/src/main/java/org/codehaus/plexus/util/cli/EnhancedStringTokenizer.java b/src/main/java/org/codehaus/plexus/util/cli/EnhancedStringTokenizer.java index c260e883..2db89002 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/EnhancedStringTokenizer.java +++ b/src/main/java/org/codehaus/plexus/util/cli/EnhancedStringTokenizer.java @@ -22,7 +22,7 @@ * The java.util.StringTokenizer is horribly broken. Given the string 1,,,3,,4 (, delim) It will return 1,3,4 Which is * clearly wrong - 1,EMPTY,EMPTY,3,EMPTY,4 is what it should return * - * @version $Id$ + * */ public final class EnhancedStringTokenizer { diff --git a/src/main/java/org/codehaus/plexus/util/cli/StreamConsumer.java b/src/main/java/org/codehaus/plexus/util/cli/StreamConsumer.java index 9bc888a3..e01bda2c 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/StreamConsumer.java +++ b/src/main/java/org/codehaus/plexus/util/cli/StreamConsumer.java @@ -62,7 +62,7 @@ * * @author Florin Vancea * @author Paul Julius - * @version $Id$ + * */ public interface StreamConsumer { diff --git a/src/main/java/org/codehaus/plexus/util/cli/StreamFeeder.java b/src/main/java/org/codehaus/plexus/util/cli/StreamFeeder.java index dd0d7a1c..270d7d8b 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/StreamFeeder.java +++ b/src/main/java/org/codehaus/plexus/util/cli/StreamFeeder.java @@ -24,7 +24,7 @@ * Read from an InputStream and write the output to an OutputStream. * * @author Trygve Laugstøl - * @version $Id$ + * */ public class StreamFeeder extends AbstractStreamHandler @@ -121,6 +121,7 @@ public void close() /** * @since 3.1.0 + * @return the Exception */ public Throwable getException() { diff --git a/src/main/java/org/codehaus/plexus/util/cli/StreamPumper.java b/src/main/java/org/codehaus/plexus/util/cli/StreamPumper.java index b5e0a0dc..12126e88 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/StreamPumper.java +++ b/src/main/java/org/codehaus/plexus/util/cli/StreamPumper.java @@ -81,7 +81,7 @@ * * @author Florin Vancea * @author Paul Julius - * @version $Id$ + * * @since June 11, 2001 */ public class StreamPumper diff --git a/src/main/java/org/codehaus/plexus/util/cli/WriterStreamConsumer.java b/src/main/java/org/codehaus/plexus/util/cli/WriterStreamConsumer.java index 97b715f0..ed24136e 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/WriterStreamConsumer.java +++ b/src/main/java/org/codehaus/plexus/util/cli/WriterStreamConsumer.java @@ -21,7 +21,7 @@ /** * @author Jason van Zyl - * @version $Id$ + * */ public class WriterStreamConsumer implements StreamConsumer diff --git a/src/main/java/org/codehaus/plexus/util/cli/shell/BourneShell.java b/src/main/java/org/codehaus/plexus/util/cli/shell/BourneShell.java index e955eecc..089bc6fd 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/shell/BourneShell.java +++ b/src/main/java/org/codehaus/plexus/util/cli/shell/BourneShell.java @@ -23,7 +23,7 @@ /** * @author Jason van Zyl - * @version $Id$ + * */ public class BourneShell extends Shell diff --git a/src/main/java/org/codehaus/plexus/util/cli/shell/CmdShell.java b/src/main/java/org/codehaus/plexus/util/cli/shell/CmdShell.java index 50ecbd68..aa0af43a 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/shell/CmdShell.java +++ b/src/main/java/org/codehaus/plexus/util/cli/shell/CmdShell.java @@ -26,7 +26,7 @@ * * @author Carlos Sanchez * @since 1.2 - * @version $Id$ + * */ public class CmdShell extends Shell diff --git a/src/main/java/org/codehaus/plexus/util/cli/shell/CommandShell.java b/src/main/java/org/codehaus/plexus/util/cli/shell/CommandShell.java index 5ca7e875..4aa4c2af 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/shell/CommandShell.java +++ b/src/main/java/org/codehaus/plexus/util/cli/shell/CommandShell.java @@ -23,7 +23,7 @@ * * @author Carlos Sanchez * @since 1.2 - * @version $Id$ + * */ public class CommandShell extends Shell diff --git a/src/main/java/org/codehaus/plexus/util/cli/shell/Shell.java b/src/main/java/org/codehaus/plexus/util/cli/shell/Shell.java index 2150be01..6082849c 100644 --- a/src/main/java/org/codehaus/plexus/util/cli/shell/Shell.java +++ b/src/main/java/org/codehaus/plexus/util/cli/shell/Shell.java @@ -32,7 +32,7 @@ * * @author Carlos Sanchez * @since 1.2 - * @version $Id$ + * */ public class Shell implements Cloneable @@ -70,7 +70,7 @@ public class Shell /** * Toggle unconditional quoting * - * @param unconditionallyQuote + * @param unconditionallyQuote see name */ public void setUnconditionalQuoting( boolean unconditionallyQuote ) { @@ -80,7 +80,7 @@ public void setUnconditionalQuoting( boolean unconditionallyQuote ) /** * Set the command to execute the shell (eg. COMMAND.COM, /bin/bash,...) * - * @param shellCommand + * @param shellCommand see name */ public void setShellCommand( String shellCommand ) { @@ -90,7 +90,7 @@ public void setShellCommand( String shellCommand ) /** * Get the command to execute the shell * - * @return + * @return the command */ public String getShellCommand() { @@ -100,7 +100,7 @@ public String getShellCommand() /** * Set the shell arguments when calling a command line (not the executable arguments) (eg. /X /C for CMD.EXE) * - * @param shellArgs + * @param shellArgs see name */ public void setShellArgs( String[] shellArgs ) { @@ -109,9 +109,7 @@ public void setShellArgs( String[] shellArgs ) } /** - * Get the shell arguments - * - * @return + * @return the shell arguments */ public String[] getShellArgs() { @@ -328,7 +326,8 @@ public boolean isQuotedExecutableEnabled() } /** - * Sets the executable to run. + * + * @param executable Sets the executable to run. */ public void setExecutable( String executable ) { @@ -345,7 +344,7 @@ public String getExecutable() } /** - * Sets execution directory. + * @param path Sets execution directory. */ public void setWorkingDirectory( String path ) { @@ -356,7 +355,7 @@ public void setWorkingDirectory( String path ) } /** - * Sets execution directory. + * @param workingDir Sets execution directory. */ public void setWorkingDirectory( File workingDir ) { diff --git a/src/main/java/org/codehaus/plexus/util/dag/CycleDetectedException.java b/src/main/java/org/codehaus/plexus/util/dag/CycleDetectedException.java index 53c2c657..e350af9d 100644 --- a/src/main/java/org/codehaus/plexus/util/dag/CycleDetectedException.java +++ b/src/main/java/org/codehaus/plexus/util/dag/CycleDetectedException.java @@ -37,9 +37,6 @@ public Listtrue
if this vertex is connected with other vertex,false
otherwise
*/
public boolean isConnected( final String label )
@@ -252,7 +253,7 @@ public ListIf nothing is found, then we must actually go and introspect the method from the MethodMap.
+ * @param name method name + * @param params method params + * @return the find Method ornull
+ * @throws org.codehaus.plexus.util.introspection.MethodMap.AmbiguousException if ambiguous name
*/
public Method findMethod( String name, Object[] params )
throws MethodMap.AmbiguousException
diff --git a/src/main/java/org/codehaus/plexus/util/introspection/MethodMap.java b/src/main/java/org/codehaus/plexus/util/introspection/MethodMap.java
index b6069f95..51420cca 100644
--- a/src/main/java/org/codehaus/plexus/util/introspection/MethodMap.java
+++ b/src/main/java/org/codehaus/plexus/util/introspection/MethodMap.java
@@ -30,7 +30,7 @@
* @author Christoph Reck
* @author Geir Magnusson Jr.
* @author Attila Szegedi
- * @version $Id$
+ *
*/
public class MethodMap
{
diff --git a/src/main/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractor.java b/src/main/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractor.java
index e4603f3d..656c8201 100644
--- a/src/main/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractor.java
+++ b/src/main/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractor.java
@@ -37,7 +37,7 @@
*
* @author Jason van Zyl
* @author Vincent Siveton
- * @version $Id$
+ *
* @see http://struts.apache.org/1.x/struts-taglib/indexedprops.html
*/
@@ -175,6 +175,7 @@ public static Object evaluate( String expression, Object root )
*
* @param expression not null expression
* @param root not null object
+ * @param trimRootToken root start
* @return the object defined by the expression
* @throws Exception if any
*/
diff --git a/src/main/java/org/codehaus/plexus/util/io/InputStreamFacade.java b/src/main/java/org/codehaus/plexus/util/io/InputStreamFacade.java
index b8207cbe..bfa5c471 100644
--- a/src/main/java/org/codehaus/plexus/util/io/InputStreamFacade.java
+++ b/src/main/java/org/codehaus/plexus/util/io/InputStreamFacade.java
@@ -26,7 +26,9 @@
public interface InputStreamFacade
{
/**
- * Retrieves the actual {@link InputStream}. The caller must assume, that this method may be invoked only once.
+ * The caller must assume, that this method may be invoked only once.
+ * @return Retrieves the actual {@link InputStream}.
+ * @throws IOException if io issue
*/
InputStream getInputStream()
throws IOException;
diff --git a/src/main/java/org/codehaus/plexus/util/reflection/Reflector.java b/src/main/java/org/codehaus/plexus/util/reflection/Reflector.java
index f4adcdf5..4f3a9d84 100644
--- a/src/main/java/org/codehaus/plexus/util/reflection/Reflector.java
+++ b/src/main/java/org/codehaus/plexus/util/reflection/Reflector.java
@@ -50,6 +50,7 @@ public Reflector()
*
* @param theClass The class to instantiate
* @param params The parameters to pass to the constructor
+ * @param XmlWriter
class.
*
* @author Vincent Siveton
- * @version $Id$
+ *
*/
public class XmlWriterUtil
{
@@ -63,7 +63,7 @@ public static void writeLineBreak( XMLWriter writer, int repeat )
* Convenience method to repeat CRLF
and to indent the writer by 2
.
*
* @param writer not null
- * @param repeat
+ * @param repeat space repeat
* @param indent positive number
* @see #DEFAULT_INDENTATION_SIZE
* @see #writeLineBreak(XMLWriter, int, int, int)
@@ -77,7 +77,7 @@ public static void writeLineBreak( XMLWriter writer, int repeat, int indent )
* Convenience method to repeat CRLF
and to indent the writer by indentSize
.
*
* @param writer not null
- * @param repeat
+ * @param repeat repeat time
* @param indent positive number
* @param indentSize positive number
*/
@@ -131,7 +131,7 @@ public static void writeCommentLineBreak( XMLWriter writer, int columnSize )
* 80
.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @see #DEFAULT_INDENTATION_SIZE
* @see #writeComment(XMLWriter, String, int, int)
*/
@@ -145,7 +145,7 @@ public static void writeComment( XMLWriter writer, String comment )
* 80
and is indented by indent
using 2
as indentation size.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @param indent positive number
* @see #DEFAULT_INDENTATION_SIZE
* @see #writeComment(XMLWriter, String, int, int)
@@ -160,7 +160,7 @@ public static void writeComment( XMLWriter writer, String comment, int indent )
* 80
and is indented by indent
using indentSize
.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @param indent positive number
* @param indentSize positive number
* @see #DEFAULT_COLUMN_LINE
@@ -176,7 +176,7 @@ public static void writeComment( XMLWriter writer, String comment, int indent, i
* columnSize
and is indented by indent
using indentSize
.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @param indent positive number
* @param indentSize positive number
* @param columnSize positive number
@@ -266,7 +266,7 @@ public static void writeComment( XMLWriter writer, String comment, int indent, i
* Convenience method to write XML comments between two comments line break. The XML comment block is not indented.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @see #DEFAULT_INDENTATION_SIZE
* @see #writeCommentText(XMLWriter, String, int, int)
*/
@@ -280,7 +280,7 @@ public static void writeCommentText( XMLWriter writer, String comment )
* by indent
using 2
as indentation size.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @param indent positive number
* @see #DEFAULT_INDENTATION_SIZE
* @see #writeCommentText(XMLWriter, String, int, int)
@@ -295,7 +295,7 @@ public static void writeCommentText( XMLWriter writer, String comment, int inden
* indent
using indentSize
.
*
* @param writer not null
- * @param comment
+ * @param comment the comment
* @param indent positive number
* @param indentSize positive number
* @see #DEFAULT_COLUMN_LINE
@@ -311,7 +311,7 @@ public static void writeCommentText( XMLWriter writer, String comment, int inden
* by indent
using indentSize
. The column size could be also be specified.
*
* @param writer not null
- * @param comment
+ * @param comment comment
* @param indent positive number
* @param indentSize positive number
* @param columnSize positive number
diff --git a/src/main/java/org/codehaus/plexus/util/xml/Xpp3Dom.java b/src/main/java/org/codehaus/plexus/util/xml/Xpp3Dom.java
index 1660f9a7..db628e41 100644
--- a/src/main/java/org/codehaus/plexus/util/xml/Xpp3Dom.java
+++ b/src/main/java/org/codehaus/plexus/util/xml/Xpp3Dom.java
@@ -30,7 +30,7 @@
import java.util.Map;
/**
- * @version $Id$ NOTE: remove all the util code in here when separated, this class should be pure data.
+ * NOTE: remove all the util code in here when separated, this class should be pure data.
*/
public class Xpp3Dom
implements Serializable
@@ -88,11 +88,13 @@ public class Xpp3Dom
public Xpp3Dom( String name )
{
this.name = name;
- childList = new ArrayListSkip sub tree that is currently parser positioned on.
* NOTE: parser must be on START_TAG and when function returns parser will be positioned on corresponding END_TAG + * @throws XmlPullParserException issue + * @throws IOException io */ public void skipSubTree() throws XmlPullParserException, IOException @@ -4100,12 +4100,7 @@ private static boolean isSupplementaryCodePoint( int codePoint ) return ( MIN_SUPPLEMENTARY_CODE_POINT <= codePoint && MAX_CODE_POINT >= codePoint ); } - /** - * TODO add javadoc - * - * @param codePoint - * @return - */ + // TODO add javadoc public static char[] toChars( int codePoint ) { if ( !isValidCodePoint( codePoint ) ) diff --git a/src/main/java/org/codehaus/plexus/util/xml/pull/MXSerializer.java b/src/main/java/org/codehaus/plexus/util/xml/pull/MXSerializer.java index 6724be84..cd1edc59 100644 --- a/src/main/java/org/codehaus/plexus/util/xml/pull/MXSerializer.java +++ b/src/main/java/org/codehaus/plexus/util/xml/pull/MXSerializer.java @@ -1342,7 +1342,7 @@ else if ( ch < 32 ) } } - /** simple utility method -- good for debugging */ + // simple utility method -- good for debugging protected static final String printable( String s ) { if ( s == null ) diff --git a/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParser.java b/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParser.java index 7c2e139f..a5f06c14 100644 --- a/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParser.java +++ b/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParser.java @@ -343,7 +343,8 @@ public interface XmlPullParser * Example: call setFeature(FEATURE_PROCESS_NAMESPACES, true) in order to switch on namespace processing. The * initial settings correspond to the properties requested from the XML Pull Parser factory. If none were requested, * all features are deactivated by default. - * + * @param name feature name + * @param state feature state * @exception XmlPullParserException If the feature is not supported or can not be set * @exception IllegalArgumentException If string with the feature name is null */ @@ -359,14 +360,15 @@ void setFeature( String name, boolean state ) * @return The value of the feature. * @exception IllegalArgumentException if string the feature name is null */ - boolean getFeature( String name ); /** * Set the value of a property. The property name is any fully-qualified URI. - * + * @param name property name + * @param value property value * @exception XmlPullParserException If the property is not supported or can not be set * @exception IllegalArgumentException If string with the property name is null + * @throws XmlPullParserException parsing issue */ void setProperty( String name, Object value ) throws XmlPullParserException; @@ -385,6 +387,8 @@ void setProperty( String name, Object value ) * Set the input source for parser to the given reader and resets the parser. The event type is set to the initial * value START_DOCUMENT. Setting the reader to null will just stop parsing and reset parser state, allowing the * parser to free internal resources such as parsing buffers. + * @param in the Reader + * @throws XmlPullParserException parsing issue */ void setInput( Reader in ) throws XmlPullParserException; @@ -401,12 +405,13 @@ void setInput( Reader in ) * * @param inputStream contains a raw byte input stream of possibly unknown encoding (when inputEncoding is null). * @param inputEncoding if not null it MUST be used as encoding for inputStream + * @throws XmlPullParserException parsing issue */ void setInput( InputStream inputStream, String inputEncoding ) throws XmlPullParserException; /** - * Returns the input encoding if known, null otherwise. If setInput(InputStream, inputEncoding) was called with an + * @return the input encoding if known, null otherwise. If setInput(InputStream, inputEncoding) was called with an * inputEncoding value other than null, this value must be returned from this method. Otherwise, if inputEncoding is * null and the parser supports the encoding detection feature * (http://xmlpull.org/v1/doc/features.html#detect-encoding), it must return the detected encoding. If @@ -436,16 +441,18 @@ void setInput( InputStream inputStream, String inputEncoding ) * Note: The list of pre-defined entity names will always contain standard XML entities such as amp * (&), lt (<), gt (>), quot ("), and apos ('). Those cannot be redefined by * this method! - * + * @param entityName entity name + * @param replacementText remplacement * @see #setInput * @see #FEATURE_PROCESS_DOCDECL * @see #FEATURE_VALIDATION + * @throws XmlPullParserException parsing issue */ void defineEntityReplacementText( String entityName, String replacementText ) throws XmlPullParserException; /** - * Returns the numbers of elements in the namespace stack for the given depth. If namespaces are not enabled, 0 is + * @return the numbers of elements in the namespace stack for the given depth. If namespaces are not enabled, 0 is * returned. ** NOTE: when parser is on END_TAG then it is allowed to call this function with getDepth()+1 argument to @@ -468,32 +475,39 @@ void defineEntityReplacementText( String entityName, String replacementText ) * @see #getNamespaceUri * @see #getNamespace() * @see #getNamespace(String) + * @param depth depth + * @throws XmlPullParserException parsing issue */ int getNamespaceCount( int depth ) throws XmlPullParserException; /** - * Returns the namespace prefix for the given position in the namespace stack. Default namespace declaration + * @return Returns the namespace prefix for the given position in the namespace stack. Default namespace declaration * (xmlns='...') will have null as prefix. If the given index is out of range, an exception is thrown. - *
+ * * Please note: when the parser is on an END_TAG, namespace prefixes that were declared in the corresponding * START_TAG are still accessible although they are no longer in scope. + * namespace prefix + * @param pos namespace stack position + * @throws XmlPullParserException parsing issue */ String getNamespacePrefix( int pos ) throws XmlPullParserException; /** - * Returns the namespace URI for the given position in the namespace stack If the position is out of range, an + * @return Returns the namespace URI for the given position in the namespace stack If the position is out of range, an * exception is thrown. - *
+ * * NOTE: when parser is on END_TAG then namespace prefixes that were declared in corresponding START_TAG are * still accessible even though they are not in scope + * @throws XmlPullParserException parsing issue + * @param pos namespace stack position */ String getNamespaceUri( int pos ) throws XmlPullParserException; /** - * Returns the URI corresponding to the given prefix, depending on current state of the parser. + * @return the URI corresponding to the given prefix, depending on current state of the parser. *
* If the prefix was not declared in the current scope, null is returned. The default namespace is included in the * namespace table and is available via getNamespace (null). @@ -515,7 +529,7 @@ String getNamespaceUri( int pos ) * The 'xml' prefix is bound to "http://www.w3.org/XML/1998/namespace", as defined in the * Namespaces in XML specification. Analogous, the * 'xmlns' prefix is resolved to http://www.w3.org/2000/xmlns/ - * + * @param prefix given prefix * @see #getNamespaceCount * @see #getNamespacePrefix * @see #getNamespaceUri @@ -526,7 +540,7 @@ String getNamespaceUri( int pos ) // miscellaneous reporting methods /** - * Returns the current depth of the element. Outside the root element, the depth is 0. The depth is incremented by 1 + * @return the current depth of the element. Outside the root element, the depth is 0. The depth is incremented by 1 * when a start tag is reached. The depth is decremented AFTER the end tag event was observed. * *
@@ -542,7 +556,7 @@ String getNamespaceUri( int pos ) int getDepth(); /** - * Returns a short text describing the current parser state, including the position, a description of the current + * @return a short text describing the current parser state, including the position, a description of the current * event and the data source if known. This method is especially useful to provide meaningful error messages and for * debugging purposes. */ @@ -568,19 +582,20 @@ String getNamespaceUri( int pos ) // TEXT related methods /** - * Checks whether the current TEXT event contains only whitespace characters. For IGNORABLE_WHITESPACE, this is + * @return Checks whether the current TEXT event contains only whitespace characters. For IGNORABLE_WHITESPACE, this is * always true. For TEXT and CDSECT, false is returned when the current event text contains at least one non-white * space character. For any other event type an exception is thrown. ** Please note: non-validating parsers are not able to distinguish whitespace and ignorable whitespace, * except from whitespace outside the root element. Ignorable whitespace is reported as separate event, which is * exposed via nextToken only. + * @throws XmlPullParserException parsing issue */ boolean isWhitespace() throws XmlPullParserException; /** - * Returns the text content of the current event as String. The value returned depends on current event type, for + * @return the text content of the current event as String. The value returned depends on current event type, for * example for TEXT event it is element content (this is typical case when next() is used). See description of * nextToken() for detailed description of possible returned values for different types of events. *
@@ -617,14 +632,14 @@ boolean isWhitespace() // START_TAG / END_TAG shared methods /** - * Returns the namespace URI of the current element. The default namespace is represented as empty string. If + * @return the namespace URI of the current element. The default namespace is represented as empty string. If * namespaces are not enabled, an empty String ("") is always returned. The current event must be START_TAG or * END_TAG; otherwise, null is returned. */ String getNamespace(); /** - * For START_TAG or END_TAG events, the (local) name of the current element is returned when namespaces are enabled. + * @return For START_TAG or END_TAG events, the (local) name of the current element is returned when namespaces are enabled. * When namespace processing is disabled, the raw name is returned. For ENTITY_REF events, the entity name is * returned. If the current event is not START_TAG, END_TAG, or ENTITY_REF, null is returned. *
@@ -634,15 +649,16 @@ boolean isWhitespace() String getName(); /** - * Returns the prefix of the current element. If the element is in the default namespace (has no prefix), null is + * @return the prefix of the current element. If the element is in the default namespace (has no prefix), null is * returned. If namespaces are not enabled, or the current event is not START_TAG or END_TAG, null is returned. */ String getPrefix(); /** - * Returns true if the current event is START_TAG and the tag is degenerated (e.g. <foobar/>). + * @return true if the current event is START_TAG and the tag is degenerated (e.g. <foobar/>). *
* NOTE: if the parser is not on START_TAG, an exception will be thrown. + * @throws XmlPullParserException parsing issue */ boolean isEmptyElementTag() throws XmlPullParserException; @@ -651,7 +667,7 @@ boolean isEmptyElementTag() // START_TAG Attributes retrieval methods /** - * Returns the number of attributes of the current start tag, or -1 if the current event type is not START_TAG + * @return the number of attributes of the current start tag, or -1 if the current event type is not START_TAG * * @see #getAttributeNamespace * @see #getAttributeName @@ -749,16 +765,17 @@ boolean isEmptyElementTag() // actual parsing methods /** - * Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.) + * @return the type of the current event (START_TAG, END_TAG, TEXT, etc.) * * @see #next() * @see #nextToken() + * @throws XmlPullParserException parsing issue */ int getEventType() throws XmlPullParserException; /** - * Get next parsing event - element content wil be coalesced and only one TEXT event must be returned for whole + * @return Get next parsing event - element content wil be coalesced and only one TEXT event must be returned for whole * element content (comments and processing instructions will be ignored and entity references must be expanded or * exception mus be thrown if entity reference can not be expanded). If element content is empty (content is "") * then no TEXT event will be reported. @@ -771,8 +788,9 @@ int getEventType() * @see #TEXT * @see #END_TAG * @see #END_DOCUMENT + * @throws XmlPullParserException parsing issue + * @throws IOException io issue */ - int next() throws XmlPullParserException, IOException; @@ -788,7 +806,7 @@ int next() * is enabled exact content of START_TAG, END_TAG, DOCDECL and PROCESSING_INSTRUCTION is available. *
* Here is the list of tokens that can be returned from nextToken() and what getText() and getTextCharacters() - * returns: + * @return *
* NOTE: XMLDecl (<?xml ...?>) is not reported but its content is available through optional
* properties (see class description above).
- *
+ * @throws XmlPullParserException parsing issue
+ * @throws IOException io issue
* @see #next
* @see #START_TAG
* @see #TEXT
@@ -884,6 +903,11 @@ int nextToken()
* || ( name != null && !name.equals( getName() ) ) )
* throw new XmlPullParserException( "expected " + TYPES[type] + getPositionDescription() );
*
+ * @param type type
+ * @param name name
+ * @param namespace namespace
+ * @throws XmlPullParserException parsing issue
+ * @throws IOException io issue
*/
void require( int type, String namespace, String name )
throws XmlPullParserException, IOException;
@@ -935,6 +959,9 @@ void require( int type, String namespace, String name )
* throw new XmlPullParserException( "parser must be on START_TAG or TEXT to read text", this, null );
* }
*
+ * @return see description
+ * @throws XmlPullParserException parsing issue
+ * @throws IOException io issue
*/
String nextText()
throws XmlPullParserException, IOException;
@@ -957,6 +984,10 @@ String nextText()
* }
* return eventType;
*
+ * @return see description
+ * @throws XmlPullParserException parsing issue
+ * @throws
+ * IOException io issue
*/
int nextTag()
throws XmlPullParserException, IOException;
diff --git a/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParserException.java b/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParserException.java
index 61cf66c3..ff23754f 100644
--- a/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParserException.java
+++ b/src/main/java/org/codehaus/plexus/util/xml/pull/XmlPullParserException.java
@@ -51,7 +51,7 @@ public XmlPullParserException( String msg, XmlPullParser parser, Throwable chain
/**
* @deprecated Use the generic getCause()
method
- * @return
+ * @return the cause
*/
@Deprecated
public Throwable getDetail()
diff --git a/src/main/java/org/codehaus/plexus/util/xml/pull/XmlSerializer.java b/src/main/java/org/codehaus/plexus/util/xml/pull/XmlSerializer.java
index d7668d74..46ef492f 100644
--- a/src/main/java/org/codehaus/plexus/util/xml/pull/XmlSerializer.java
+++ b/src/main/java/org/codehaus/plexus/util/xml/pull/XmlSerializer.java
@@ -37,7 +37,8 @@ public interface XmlSerializer
* defined in
* http://www.xmlpull.org/v1/doc/features.html. If feature is not recognized or can not be set then
* IllegalStateException MUST be thrown.
- *
+ * @param name feature name
+ * @param state feature state
* @exception IllegalStateException If the feature is not supported or can not be set
*/
void setFeature( String name, boolean state )
@@ -59,7 +60,8 @@ void setFeature( String name, boolean state )
* optional properties are defined in
* http://www.xmlpull.org/v1/doc/properties.html. If property is not recognized or can not be set then
* IllegalStateException MUST be thrown.
- *
+ * @param name property name
+ * @param value property value
* @exception IllegalStateException if the property is not supported or can not be set
*/
void setProperty( String name, Object value )
@@ -77,14 +79,22 @@ void setProperty( String name, Object value )
/**
* Set to use binary output stream with given encoding.
+ * @param os out
+ * @param encoding encoding
+ * @throws IOException io
+ * @throws IllegalArgumentException if null
+ * @throws IllegalStateException illegal use
*/
void setOutput( OutputStream os, String encoding )
throws IOException, IllegalArgumentException, IllegalStateException;
/**
- * Set the output to the given writer.
+ * @param writer Set the output to the given writer.
*
* WARNING no information about encoding is available! + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ void setOutput( Writer writer ) throws IOException, IllegalArgumentException, IllegalStateException; @@ -92,6 +102,11 @@ void setOutput( Writer writer ) /** * Write <?xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) * This method can only be called just after setOutput. + * @param encoding document encoding + * @param standalone standalone flag value + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ void startDocument( String encoding, Boolean standalone ) throws IOException, IllegalArgumentException, IllegalStateException; @@ -99,6 +114,9 @@ void startDocument( String encoding, Boolean standalone ) /** * Finish writing. All unclosed start tags will be closed and output will be flushed. After calling this method no * more output can be serialized until next call to setOutput() + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ void endDocument() throws IOException, IllegalArgumentException, IllegalStateException; @@ -119,12 +137,15 @@ void endDocument() * * @param prefix must be not null (or IllegalArgumentException is thrown) * @param namespace must be not null + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ void setPrefix( String prefix, String namespace ) throws IOException, IllegalArgumentException, IllegalStateException; /** - * Return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but + * @return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but * if generatePrefix is false then return generated prefix. *
* NOTE: if the prefix is empty string "" and default namespace is bound to this prefix then empty string @@ -132,12 +153,15 @@ void setPrefix( String prefix, String namespace ) *
* NOTE: prefixes "xml" and "xmlns" are already bound will have values as defined * Namespaces in XML specification + * @param namespace the namespace + * @param generatePrefix to generate the missing prefix + * @throws IllegalArgumentException if null */ String getPrefix( String namespace, boolean generatePrefix ) throws IllegalArgumentException; /** - * Returns the current depth of the element. Outside the root element, the depth is 0. The depth is incremented by 1 + * @return the current depth of the element. Outside the root element, the depth is 0. The depth is incremented by 1 * when startTag() is called. The depth is decremented after the call to endTag() event was observed. * *
@@ -179,6 +203,12 @@ String getPrefix( String namespace, boolean generatePrefix ) * setPrefix() immediately before this method. If namespace is null no namespace prefix is printed but just name. If * namespace is empty string then serializer will make sure that default empty namespace is declared (in XML 1.0 * xmlns='') or throw IllegalStateException if default namespace is already bound to non-empty string. + * @param namespace ns + * @param name tag name + * @return XmlSerializer + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ XmlSerializer startTag( String namespace, String name ) throws IOException, IllegalArgumentException, IllegalStateException; @@ -187,16 +217,28 @@ XmlSerializer startTag( String namespace, String name ) * Write an attribute. Calls to attribute() MUST follow a call to startTag() immediately. If there is no prefix * defined for the given namespace, a prefix will be defined automatically. If namespace is null or empty string no * namespace prefix is printed but just name. + * @param name attribute name + * @param value attribute value + * @param namespace namespace to use + * @return XmlSerializer + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ XmlSerializer attribute( String namespace, String name, String value ) throws IOException, IllegalArgumentException, IllegalStateException; /** * Write end tag. Repetition of namespace and name is just for avoiding errors. - ** Background: in kXML endTag had no arguments, and non matching tags were very difficult to find... If * namespace is null no namespace prefix is printed but just name. If namespace is empty string then serializer will * make sure that default empty namespace is declared (in XML 1.0 xmlns=''). + * @param namespace ns + * @param name tag name + * @return XmlSerializer + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ XmlSerializer endTag( String namespace, String name ) throws IOException, IllegalArgumentException, IllegalStateException; @@ -255,13 +297,24 @@ XmlSerializer endTag( String namespace, String name ) // throws IOException, IllegalArgumentException, IllegalStateException; /** - * Writes text, where special XML chars are escaped automatically + * @param text Writes text, where special XML chars are escaped automatically + * @return XmlSerializer + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ XmlSerializer text( String text ) throws IOException, IllegalArgumentException, IllegalStateException; /** * Writes text, where special XML chars are escaped automatically + * @param buf characters + * @param len lenght + * @param start start + * @return XmlSerializer + * @throws IOException io + * @throws IllegalArgumentException if null + * @throws IllegalStateException illegal use */ XmlSerializer text( char[] buf, int start, int len ) throws IOException, IllegalArgumentException, IllegalStateException; @@ -290,6 +343,7 @@ void ignorableWhitespace( String text ) *
* NOTE: if there is need to close start tag (so no more attribute() calls are allowed) but without flushing * output call method text() with empty string (text("")). + * @throws IOException io */ void flush() throws IOException; diff --git a/src/test/java/org/codehaus/plexus/util/AbstractTestThread.java b/src/test/java/org/codehaus/plexus/util/AbstractTestThread.java index 8d556e5e..45c7329d 100644 --- a/src/test/java/org/codehaus/plexus/util/AbstractTestThread.java +++ b/src/test/java/org/codehaus/plexus/util/AbstractTestThread.java @@ -24,7 +24,7 @@ *
* * @author Bert van Brakel - * @version $Revision$ + * */ public abstract class AbstractTestThread implements Runnable diff --git a/src/test/java/org/codehaus/plexus/util/FileUtilsTest.java b/src/test/java/org/codehaus/plexus/util/FileUtilsTest.java index f29dd418..6a326c4b 100644 --- a/src/test/java/org/codehaus/plexus/util/FileUtilsTest.java +++ b/src/test/java/org/codehaus/plexus/util/FileUtilsTest.java @@ -46,7 +46,7 @@ * * @author Peter Donald * @author Matthew Hawthorne - * @version $Id$ + * * @see FileUtils */ public final class FileUtilsTest diff --git a/src/test/java/org/codehaus/plexus/util/PathToolTest.java b/src/test/java/org/codehaus/plexus/util/PathToolTest.java index e7f01ba8..4b9985a9 100644 --- a/src/test/java/org/codehaus/plexus/util/PathToolTest.java +++ b/src/test/java/org/codehaus/plexus/util/PathToolTest.java @@ -22,7 +22,7 @@ /** * @author Vincent Siveton - * @version $Id$ + * */ public class PathToolTest { diff --git a/src/test/java/org/codehaus/plexus/util/StringInputStreamTest.java b/src/test/java/org/codehaus/plexus/util/StringInputStreamTest.java index 5d07271b..cc76544a 100644 --- a/src/test/java/org/codehaus/plexus/util/StringInputStreamTest.java +++ b/src/test/java/org/codehaus/plexus/util/StringInputStreamTest.java @@ -20,7 +20,7 @@ /** * @author Ben Walding - * @version $Id$ + * */ public class StringInputStreamTest extends TestCase diff --git a/src/test/java/org/codehaus/plexus/util/StringUtilsTest.java b/src/test/java/org/codehaus/plexus/util/StringUtilsTest.java index 42f1a75b..56df66a7 100644 --- a/src/test/java/org/codehaus/plexus/util/StringUtilsTest.java +++ b/src/test/java/org/codehaus/plexus/util/StringUtilsTest.java @@ -29,7 +29,7 @@ * Test string utils. * * @author Brett Porter - * @version $Id$ + * */ public class StringUtilsTest { diff --git a/src/test/java/org/codehaus/plexus/util/SweeperPoolTest.java b/src/test/java/org/codehaus/plexus/util/SweeperPoolTest.java index 9dd1a41f..c080d7d0 100644 --- a/src/test/java/org/codehaus/plexus/util/SweeperPoolTest.java +++ b/src/test/java/org/codehaus/plexus/util/SweeperPoolTest.java @@ -33,7 +33,7 @@ * Created on 21/06/2003 * * @author Bert van Brakel - * @version $Revision$ + * */ public class SweeperPoolTest { diff --git a/src/test/java/org/codehaus/plexus/util/TestThreadManager.java b/src/test/java/org/codehaus/plexus/util/TestThreadManager.java index bfc79229..7c954296 100644 --- a/src/test/java/org/codehaus/plexus/util/TestThreadManager.java +++ b/src/test/java/org/codehaus/plexus/util/TestThreadManager.java @@ -29,7 +29,7 @@ * * * @author Bert van Brakel - * @version $Revision$ + * */ public class TestThreadManager { diff --git a/src/test/java/org/codehaus/plexus/util/Tracer.java b/src/test/java/org/codehaus/plexus/util/Tracer.java index df6fd63a..334f85ff 100644 --- a/src/test/java/org/codehaus/plexus/util/Tracer.java +++ b/src/test/java/org/codehaus/plexus/util/Tracer.java @@ -26,7 +26,7 @@ * * * @author Bert van Brakel - * @version $Revision$ + * */ public class Tracer { diff --git a/src/test/java/org/codehaus/plexus/util/dag/CycleDetectedExceptionTest.java b/src/test/java/org/codehaus/plexus/util/dag/CycleDetectedExceptionTest.java index 4d0c9ad9..8fd33944 100644 --- a/src/test/java/org/codehaus/plexus/util/dag/CycleDetectedExceptionTest.java +++ b/src/test/java/org/codehaus/plexus/util/dag/CycleDetectedExceptionTest.java @@ -25,7 +25,7 @@ /** * @author Jason van Zyl - * @version $Id$ + * */ public class CycleDetectedExceptionTest { diff --git a/src/test/java/org/codehaus/plexus/util/dag/CycleDetectorTest.java b/src/test/java/org/codehaus/plexus/util/dag/CycleDetectorTest.java index df52fe0e..45db6bed 100644 --- a/src/test/java/org/codehaus/plexus/util/dag/CycleDetectorTest.java +++ b/src/test/java/org/codehaus/plexus/util/dag/CycleDetectorTest.java @@ -28,7 +28,7 @@ /** * @author Michal Maczka - * @version $Id$ + * */ public class CycleDetectorTest { diff --git a/src/test/java/org/codehaus/plexus/util/dag/DAGTest.java b/src/test/java/org/codehaus/plexus/util/dag/DAGTest.java index 0ff1269c..a4210045 100644 --- a/src/test/java/org/codehaus/plexus/util/dag/DAGTest.java +++ b/src/test/java/org/codehaus/plexus/util/dag/DAGTest.java @@ -28,7 +28,7 @@ /** * @author Michal Maczka - * @version $Id$ + * */ public class DAGTest { diff --git a/src/test/java/org/codehaus/plexus/util/dag/TopologicalSorterTest.java b/src/test/java/org/codehaus/plexus/util/dag/TopologicalSorterTest.java index 67afbbeb..36bdf1f9 100644 --- a/src/test/java/org/codehaus/plexus/util/dag/TopologicalSorterTest.java +++ b/src/test/java/org/codehaus/plexus/util/dag/TopologicalSorterTest.java @@ -25,7 +25,7 @@ /** * @author Michal Maczka - * @version $Id$ + * */ public class TopologicalSorterTest { diff --git a/src/test/java/org/codehaus/plexus/util/dag/VertexTest.java b/src/test/java/org/codehaus/plexus/util/dag/VertexTest.java index 0044795b..d5ab0cd1 100644 --- a/src/test/java/org/codehaus/plexus/util/dag/VertexTest.java +++ b/src/test/java/org/codehaus/plexus/util/dag/VertexTest.java @@ -22,7 +22,7 @@ /** * @author Michal Maczka - * @version $Id$ + * */ public class VertexTest { diff --git a/src/test/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractorTest.java b/src/test/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractorTest.java index 39b3f9fa..0eb34b6c 100644 --- a/src/test/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractorTest.java +++ b/src/test/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractorTest.java @@ -33,7 +33,7 @@ /** * @author Jason van Zyl - * @version $Id$ + * */ public class ReflectionValueExtractorTest { @@ -552,4 +552,4 @@ public void testRootPropertyRegression() Object evalued = ReflectionValueExtractor.evaluate( "description", project ); assertNotNull( evalued ); } -} \ No newline at end of file +} diff --git a/src/test/java/org/codehaus/plexus/util/reflection/ReflectorTest.java b/src/test/java/org/codehaus/plexus/util/reflection/ReflectorTest.java index c8f1c4aa..ed75fd58 100644 --- a/src/test/java/org/codehaus/plexus/util/reflection/ReflectorTest.java +++ b/src/test/java/org/codehaus/plexus/util/reflection/ReflectorTest.java @@ -23,7 +23,7 @@ /** * @author Jörg Schaible - * @version $Id$ + * */ public class ReflectorTest { diff --git a/src/test/java/org/codehaus/plexus/util/xml/PrettyPrintXMLWriterTest.java b/src/test/java/org/codehaus/plexus/util/xml/PrettyPrintXMLWriterTest.java index 128d004f..1d5b046e 100644 --- a/src/test/java/org/codehaus/plexus/util/xml/PrettyPrintXMLWriterTest.java +++ b/src/test/java/org/codehaus/plexus/util/xml/PrettyPrintXMLWriterTest.java @@ -39,7 +39,7 @@ * * @author Vincent Siveton * @author Gabriel Belingueres - * @version $Id$ + * */ public class PrettyPrintXMLWriterTest { diff --git a/src/test/java/org/codehaus/plexus/util/xml/XmlUtilTest.java b/src/test/java/org/codehaus/plexus/util/xml/XmlUtilTest.java index 25ee91ae..91b6a7f7 100644 --- a/src/test/java/org/codehaus/plexus/util/xml/XmlUtilTest.java +++ b/src/test/java/org/codehaus/plexus/util/xml/XmlUtilTest.java @@ -39,7 +39,7 @@ * Test the {@link XmlUtil} class. * * @author Vincent Siveton - * @version $Id$ + * */ public class XmlUtilTest { diff --git a/src/test/java/org/codehaus/plexus/util/xml/XmlWriterUtilTest.java b/src/test/java/org/codehaus/plexus/util/xml/XmlWriterUtilTest.java index 6c4fe638..34d99297 100644 --- a/src/test/java/org/codehaus/plexus/util/xml/XmlWriterUtilTest.java +++ b/src/test/java/org/codehaus/plexus/util/xml/XmlWriterUtilTest.java @@ -31,7 +31,7 @@ /** * @author Vincent Siveton - * @version $Id$ + * */ public class XmlWriterUtilTest { diff --git a/src/test/java/org/codehaus/plexus/util/xml/Xpp3DomBuilderTest.java b/src/test/java/org/codehaus/plexus/util/xml/Xpp3DomBuilderTest.java index 0c8e5a17..f8ac0489 100644 --- a/src/test/java/org/codehaus/plexus/util/xml/Xpp3DomBuilderTest.java +++ b/src/test/java/org/codehaus/plexus/util/xml/Xpp3DomBuilderTest.java @@ -33,7 +33,7 @@ * Test the Xpp3DomBuilder. * * @author Brett Porter - * @version $Id$ + * */ public class Xpp3DomBuilderTest { diff --git a/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java b/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java index c0754126..5b685e8e 100644 --- a/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java +++ b/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java @@ -28,7 +28,7 @@ /** * @author Trygve Laugstøl - * @version $Id$ + * */ public class MXParserTest {