You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2005/07/08 15:49:53 UTC
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/starteam TreeBasedTask.java
peterreilly 2005/07/08 06:49:53
Modified: src/main/org/apache/tools/ant/taskdefs/optional/starteam
TreeBasedTask.java
Log:
mostly javadoc
Revision Changes Path
1.29 +9 -4 ant/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java
Index: TreeBasedTask.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- TreeBasedTask.java 22 Nov 2004 09:23:35 -0000 1.28
+++ TreeBasedTask.java 8 Jul 2005 13:49:53 -0000 1.29
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation
+ * Copyright 2001-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.
@@ -555,7 +555,7 @@
* @exception BuildException
* if the root folder cannot be found in the repository
*/
- private final Folder configureRootStarteamFolder()
+ private Folder configureRootStarteamFolder()
throws BuildException {
Folder starteamrootfolder = null;
try {
@@ -622,7 +622,7 @@
* @return the local folder corresponding to the root Starteam folder.
* @see findRootStarteamFolder
*/
- private final java.io.File getLocalRootMapping(Folder starteamrootfolder) {
+ private java.io.File getLocalRootMapping(Folder starteamrootfolder) {
// set the local folder.
String localrootfolder;
if (null != this.rootLocalFolder) {
@@ -722,6 +722,11 @@
return -1;
}
+ /**
+ * Get the id of the label in use.
+ * @return id of the label in use, if labelinuse is present,
+ * otherwise return null
+ */
protected int getIDofLabelInUse() {
if (null != this.labelInUse) {
return this.labelInUse.getID();
@@ -738,7 +743,7 @@
* @param rootLocalFolder
* the local mapping of rootStarteamFolder
*
- * @exception BuildException
+ * @throws BuildException on error
*/
protected abstract void visit(Folder rootStarteamFolder,
java.io.File rootLocalFolder)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org