Browse Source

get reference ready for 1.6.3

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277531 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
58b16abe8b
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/main/org/apache/tools/ant/types/Reference.java

+ 4
- 4
src/main/org/apache/tools/ant/types/Reference.java View File

@@ -49,7 +49,7 @@ public class Reference {
* Create a reference to a named ID in a particular project. * Create a reference to a named ID in a particular project.
* @param p the project this reference is associated with * @param p the project this reference is associated with
* @param id the name of this reference * @param id the name of this reference
* @since Ant 1.7
* @since Ant 1.6.3
*/ */
public Reference(Project p, String id) { public Reference(Project p, String id) {
setRefId(id); setRefId(id);
@@ -77,7 +77,7 @@ public class Reference {
* Set the associated project. Should not normally be necessary; * Set the associated project. Should not normally be necessary;
* use {@link Reference#Reference(Project,String)}. * use {@link Reference#Reference(Project,String)}.
* @param p the project to use * @param p the project to use
* @since Ant 1.7
* @since Ant 1.6.3
*/ */
public void setProject(Project p) { public void setProject(Project p) {
this.project = p; this.project = p;
@@ -86,7 +86,7 @@ public class Reference {
/** /**
* Get the associated project, if any; may be null. * Get the associated project, if any; may be null.
* @return the associated project * @return the associated project
* @since Ant 1.7
* @since Ant 1.6.3
*/ */
public Project getProject() { public Project getProject() {
return project; return project;
@@ -117,7 +117,7 @@ public class Reference {
* @see Project#getReference * @see Project#getReference
* @return the dereferenced object. * @return the dereferenced object.
* @throws BuildException if the project is null or the reference cannot be dereferenced * @throws BuildException if the project is null or the reference cannot be dereferenced
* @since Ant 1.7
* @since Ant 1.6.3
*/ */
public Object getReferencedObject() throws BuildException { public Object getReferencedObject() throws BuildException {
if (project == null) { if (project == null) {


Loading…
Cancel
Save