Browse Source

I said I was synching 1.6 with HEAD, forgot to update HEAD first!

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277515 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
d3494d54dc
2 changed files with 15 additions and 15 deletions
  1. +7
    -7
      src/main/org/apache/tools/ant/UnsupportedAttributeException.java
  2. +8
    -8
      src/main/org/apache/tools/ant/UnsupportedElementException.java

+ 7
- 7
src/main/org/apache/tools/ant/UnsupportedAttributeException.java View File

@@ -1,5 +1,5 @@
/*
* Copyright 2004 The Apache Software Foundation
* Copyright 2004-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,16 +19,16 @@ package org.apache.tools.ant;
/**
* Used to report attempts to set an unsupported attribute
*
* @since Ant 1.7
* @since Ant 1.6.3
*/
public class UnsupportedAttributeException extends BuildException {

private String attribute;

/**
* Constructs an unsupport attribute exception
* @param msg The string containing the message
* @param attribute The unsupported attribute
* Constructs an unsupported attribute exception.
* @param msg The string containing the message.
* @param attribute The unsupported attribute.
*/
public UnsupportedAttributeException(String msg, String attribute) {
super(msg);
@@ -36,9 +36,9 @@ public class UnsupportedAttributeException extends BuildException {
}

/**
* The attribute that is wrong
* Get the attribute that is wrong.
*
* @return the attribute name
* @return the attribute name.
*/
public String getAttribute() {
return attribute;


+ 8
- 8
src/main/org/apache/tools/ant/UnsupportedElementException.java View File

@@ -1,5 +1,5 @@
/*
* Copyright 2004 The Apache Software Foundation
* Copyright 2004-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,16 +28,16 @@ package org.apache.tools.ant;
* This will be done once (in the case of a recursive
* call to handlechildren).
*
* @since Ant 1.6.3 or Ant 1.7 ?
* @since Ant 1.6.3
*/
public class UnsupportedElementException extends BuildException {

private String element;
private String element;

/**
* Constructs an unsupport element exception
* @param msg The string containing the message
* @param element The name of the incorrect element
* Constructs an unsupported element exception.
* @param msg The string containing the message.
* @param element The name of the incorrect element.
*/
public UnsupportedElementException(String msg, String element) {
super(msg);
@@ -45,9 +45,9 @@ public class UnsupportedElementException extends BuildException {
}

/**
* The element that is wrong
* Get the element that is wrong.
*
* @return the element name
* @return the element name.
*/
public String getElement() {
return element;


Loading…
Cancel
Save