Browse Source

Fixed problem when an empty tag was supplied.

Submitted by:	Jean-Noel Gadreau <jngadreau@activcard.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267670 13f79535-47bb-0310-9956-ffa450edef68
master
Arnout J. Kuiper 25 years ago
parent
commit
320e41bc89
1 changed files with 10 additions and 3 deletions
  1. +10
    -3
      src/main/org/apache/tools/ant/taskdefs/Cvs.java

+ 10
- 3
src/main/org/apache/tools/ant/taskdefs/Cvs.java View File

@@ -97,9 +97,16 @@ public class Cvs extends Exec {
this.pack = p;
}

public void setTag(String p) {
this.tag = p;
}
public void setTag(String p) {
// Check if not real tag => set it to null
if (p != null) {
if (p.trim().equals(""))
p = null;
}

this.tag = p;
}

}



Loading…
Cancel
Save