Author: jkf
Date: Fri Nov 17 08:54:21 2006
New Revision: 476215
URL: http://svn.apache.org/viewvc?view=rev&rev=476215
Log:
Added @since tags
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/Project.java
ant/core/trunk/src/main/org/apache/tools/ant/Task.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/Project.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/Project.java?view=diff&rev=476215&r1=476214&r2=476215
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/Project.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/Project.java Fri Nov 17
08:54:21 2006
@@ -433,6 +433,7 @@
* @param message The text to log. Should not be <code>null</code>.
* @param throwable The exception causing this log, may be
<code>null</code>.
* @param msgLevel The log priority level to use.
+ * @since 1.7
*/
public void log(String message, Throwable throwable, int msgLevel) {
fireMessageLogged(this, message, throwable, msgLevel);
@@ -454,6 +455,7 @@
* @param message The text to log. Should not be <code>null</code>.
* @param throwable The exception causing this log, may be
<code>null</code>.
* @param msgLevel The log priority level to use.
+ * @since 1.7
*/
public void log(Task task, String message, Throwable throwable, int
msgLevel) {
fireMessageLogged(task, message, throwable, msgLevel);
@@ -477,6 +479,7 @@
* @param message The text to log. Should not be <code>null</code>.
* @param throwable The exception causing this log, may be
<code>null</code>.
* @param msgLevel The log priority level to use.
+ * @since 1.7
*/
public void log(Target target, String message, Throwable throwable,
int msgLevel) {
@@ -2196,6 +2199,7 @@
* @param message The message to send. Should not be <code>null</code>.
* @param throwable The exception that caused this message. May be
<code>null</code>.
* @param priority The priority of the message.
+ * @since 1.7
*/
protected void fireMessageLogged(Project project, String message,
Throwable throwable, int priority) {
@@ -2227,6 +2231,7 @@
* @param message The message to send. Should not be <code>null</code>.
* @param throwable The exception that caused this message. May be
<code>null</code>.
* @param priority The priority of the message.
+ * @since 1.7
*/
protected void fireMessageLogged(Target target, String message,
Throwable throwable, int priority) {
@@ -2257,6 +2262,7 @@
* @param message The message to send. Should not be <code>null</code>.
* @param throwable The exception that caused this message. May be
<code>null</code>.
* @param priority The priority of the message.
+ * @since 1.7
*/
protected void fireMessageLogged(Task task, String message,
Throwable throwable, int priority) {
Modified: ant/core/trunk/src/main/org/apache/tools/ant/Task.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/Task.java?view=diff&rev=476215&r1=476214&r2=476215
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/Task.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/Task.java Fri Nov 17 08:54:21
2006
@@ -334,6 +334,7 @@
* @param t The exception to be logged. Should not be <code>null</code>.
* @param msgLevel The message priority at which this message is to
* be logged.
+ * @since 1.7
*/
public void log(Throwable t, int msgLevel) {
if(t != null)
@@ -350,6 +351,7 @@
* @param t The exception to be logged. May be <code>null</code>.
* @param msgLevel The message priority at which this message is to
* be logged.
+ * @since 1.7
*/
public void log(String msg, Throwable t, int msgLevel) {
if (getProject() != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]