Browse Source

Added @since tags

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476215 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 18 years ago
parent
commit
7a3146ec84
2 changed files with 8 additions and 0 deletions
  1. +6
    -0
      src/main/org/apache/tools/ant/Project.java
  2. +2
    -0
      src/main/org/apache/tools/ant/Task.java

+ 6
- 0
src/main/org/apache/tools/ant/Project.java View File

@@ -433,6 +433,7 @@ public class Project implements ResourceFactory {
* @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 @@ public class Project implements ResourceFactory {
* @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 @@ public class Project implements ResourceFactory {
* @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 @@ public class Project implements ResourceFactory {
* @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 @@ public class Project implements ResourceFactory {
* @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 @@ public class Project implements ResourceFactory {
* @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) {


+ 2
- 0
src/main/org/apache/tools/ant/Task.java View File

@@ -334,6 +334,7 @@ public abstract class Task extends ProjectComponent {
* @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 @@ public abstract class Task extends ProjectComponent {
* @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) {


Loading…
Cancel
Save