Properties.containsKey() is the correct call here; contains() was testing if a value is present but the key is what was meant. Change-Id: Ice72c9f4388583e18cf8aca6e837cc4299fd07fdtags/v4.1.0.201509280440-r
@@ -148,7 +148,7 @@ public class TransportAmazonS3 extends HttpTransport implements WalkTransport { | |||
super(local, uri); | |||
Properties props = loadProperties(); | |||
if (!props.contains("tmpdir") && local.getDirectory() != null) //$NON-NLS-1$ | |||
if (!props.containsKey("tmpdir") && local.getDirectory() != null) //$NON-NLS-1$ | |||
props.put("tmpdir", local.getDirectory().getPath()); //$NON-NLS-1$ | |||
s3 = new AmazonS3(props); |