From a55663eeb0bb1d97125d740d70410ed29f49ff8d Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Fri, 8 Jul 2005 13:49:53 +0000 Subject: [PATCH] mostly javadoc git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278457 13f79535-47bb-0310-9956-ffa450edef68 --- .../taskdefs/optional/starteam/TreeBasedTask.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java index aaeb8f846..57e0609bd 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java @@ -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 @@ public abstract class TreeBasedTask extends StarTeamTask { * @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 @@ public abstract class TreeBasedTask extends StarTeamTask { * @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 @@ public abstract class TreeBasedTask extends StarTeamTask { 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 @@ public abstract class TreeBasedTask extends StarTeamTask { * @param rootLocalFolder * the local mapping of rootStarteamFolder * - * @exception BuildException + * @throws BuildException on error */ protected abstract void visit(Folder rootStarteamFolder, java.io.File rootLocalFolder)