Browse Source

opps: shadow setting due to renaming

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277231 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
b5fc1bb243
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java

+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java View File

@@ -134,7 +134,7 @@ public abstract class MSVSS extends Task implements MSVSSConstants {
* @param vssPath The VSS project path. * @param vssPath The VSS project path.
* @ant.attribute group="required" * @ant.attribute group="required"
*/ */
public final void setVsspath(String vssPath) {
public final void setVsspath(final String vssPath) {
String projectPath; String projectPath;
if (vssPath.startsWith("vss://")) { //$NON-NLS-1$ if (vssPath.startsWith("vss://")) { //$NON-NLS-1$
projectPath = vssPath.substring(5); projectPath = vssPath.substring(5);
@@ -143,9 +143,9 @@ public abstract class MSVSS extends Task implements MSVSSConstants {
} }


if (projectPath.startsWith(PROJECT_PREFIX)) { if (projectPath.startsWith(PROJECT_PREFIX)) {
vssPath = projectPath;
this.vssPath = projectPath;
} else { } else {
vssPath = PROJECT_PREFIX + projectPath;
this.vssPath = PROJECT_PREFIX + projectPath;
} }
} }




Loading…
Cancel
Save