Browse Source

Fix audit violations

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270911 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 24 years ago
parent
commit
080765fb9a
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKIN.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java

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

@@ -91,7 +91,7 @@ public abstract class MSVSS extends Task {
* @param dir the directory containing ss.exe
*/
public final void setSsdir(String dir) {
m_SSDir = project.translatePath(dir);
m_SSDir = Project.translatePath(dir);
}
/**


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

@@ -139,7 +139,7 @@ public class MSVSSCHECKIN extends MSVSS {
File dir = project.resolveFile(m_LocalPath);
if (!dir.exists()) {
boolean done = dir.mkdirs();
if (done == false) {
if (!done) {
String msg = "Directory " + m_LocalPath + " creation was not " +
"succesful for an unknown reason";
throw new BuildException(msg, location);


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

@@ -138,7 +138,7 @@ public class MSVSSCHECKOUT extends MSVSS {
File dir = project.resolveFile(m_LocalPath);
if (!dir.exists()) {
boolean done = dir.mkdirs();
if (done == false) {
if (!done) {
String msg = "Directory " + m_LocalPath + " creation was not " +
"succesful for an unknown reason";
throw new BuildException(msg, location);


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

@@ -206,7 +206,7 @@ public class MSVSSGET extends MSVSS {
File dir = project.resolveFile(m_LocalPath);
if (!dir.exists()) {
boolean done = dir.mkdirs();
if (done == false) {
if (!done) {
String msg = "Directory " + m_LocalPath + " creation was not " +
"successful for an unknown reason";
throw new BuildException(msg, location);


Loading…
Cancel
Save