diff --git a/apis/s3/src/main/java/org/jclouds/s3/filters/RequestAuthorizeSignature.java b/apis/s3/src/main/java/org/jclouds/s3/filters/RequestAuthorizeSignature.java index 0fce627fb3..f47afe965f 100644 --- a/apis/s3/src/main/java/org/jclouds/s3/filters/RequestAuthorizeSignature.java +++ b/apis/s3/src/main/java/org/jclouds/s3/filters/RequestAuthorizeSignature.java @@ -242,7 +242,7 @@ public class RequestAuthorizeSignature implements HttpRequestFilter, RequestSign char separator = '?'; for (String paramName : Ordering.natural().sortedCopy(params.keySet())) { // Skip any parameters that aren't part of the canonical signed string - if (SIGNED_PARAMETERS.contains(paramName) == false) + if (!SIGNED_PARAMETERS.contains(paramName)) continue; toSign.append(separator).append(paramName); String paramValue = get(params.get(paramName), 0); diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java index cc4de802ac..69d0510032 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/NodeCreator.java @@ -160,7 +160,7 @@ public class NodeCreator implements Function +