Browse Source

oops

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475811 13f79535-47bb-0310-9956-ffa450edef68
remotes/1776816827838153613/tmp_25f451bd36ab3145e487fcb2cd5c62c571e5b602
Matthew Jason Benson 19 years ago
parent
commit
7d2078fb82
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java View File

@@ -378,14 +378,14 @@ public class Scp extends SSHBase {
}

private void setFromUri(String fromUri) {
if (fromUri != null) {
if (this.fromUri != null) {
throw exactlyOne(FROM_ATTRS);
}
this.fromUri = fromUri;
}

private void setToUri(String toUri) {
if (toUri != null) {
if (this.toUri != null) {
throw exactlyOne(TO_ATTRS);
}
this.toUri = toUri;


Loading…
Cancel
Save