You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2014/08/26 20:18:45 UTC

[1/2] git commit: Remove spurious whitespace

Repository: jclouds
Updated Branches:
  refs/heads/master 8b16bf0e4 -> bf678edb9


Remove spurious whitespace

Also remove spurious unary operator plus.


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/9c2c2e0c
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/9c2c2e0c
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/9c2c2e0c

Branch: refs/heads/master
Commit: 9c2c2e0c44607f3aa622bc3e6ec32d36b592420f
Parents: 8b16bf0
Author: Andrew Gaul <ga...@apache.org>
Authored: Tue Aug 26 11:15:55 2014 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Tue Aug 26 11:15:55 2014 -0700

----------------------------------------------------------------------
 .../org/jclouds/compute/internal/BaseComputeServiceLiveTest.java   | 2 +-
 .../jclouds/aws/s3/blobstore/strategy/internal/MpuGraphData.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/9c2c2e0c/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java
----------------------------------------------------------------------
diff --git a/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java b/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java
index a883328..a98d481 100644
--- a/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java
+++ b/compute/src/test/java/org/jclouds/compute/internal/BaseComputeServiceLiveTest.java
@@ -710,7 +710,7 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte
       // note that some cloud providers do not support mixed case tag names
       ImmutableMap<String, String> userMetadata = ImmutableMap.<String, String> of("test", group);
 
-      ImmutableSet<String> tags = ImmutableSet. of(group);
+      ImmutableSet<String> tags = ImmutableSet.of(group);
       Stopwatch watch = Stopwatch.createStarted();
 
       template = buildTemplate(client.templateBuilder());

http://git-wip-us.apache.org/repos/asf/jclouds/blob/9c2c2e0c/providers/aws-s3/src/test/java/org/jclouds/aws/s3/blobstore/strategy/internal/MpuGraphData.java
----------------------------------------------------------------------
diff --git a/providers/aws-s3/src/test/java/org/jclouds/aws/s3/blobstore/strategy/internal/MpuGraphData.java b/providers/aws-s3/src/test/java/org/jclouds/aws/s3/blobstore/strategy/internal/MpuGraphData.java
index 5153344..0f1d9ba 100644
--- a/providers/aws-s3/src/test/java/org/jclouds/aws/s3/blobstore/strategy/internal/MpuGraphData.java
+++ b/providers/aws-s3/src/test/java/org/jclouds/aws/s3/blobstore/strategy/internal/MpuGraphData.java
@@ -25,7 +25,7 @@ public class MpuGraphData {
 
    private static void calculate(long length, MultipartUploadSlicingAlgorithm algorithm) {
       System.out.println("" + length + " " + algorithm.getParts() + " "
-            + algorithm.calculateChunkSize(length) + " " + + algorithm.getRemaining());
+            + algorithm.calculateChunkSize(length) + " " + algorithm.getRemaining());
    }
 
    private static void foreach(long from, long to1, long to2, long to3, MultipartUploadSlicingAlgorithm algorithm) {


[2/2] git commit: Enforce no leading or trailing spurious whitespace

Posted by ga...@apache.org.
Enforce no leading or trailing spurious whitespace


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/bf678edb
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/bf678edb
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/bf678edb

Branch: refs/heads/master
Commit: bf678edb97b2e0060b705c61505575588f8c5a35
Parents: 9c2c2e0
Author: Andrew Gaul <ga...@apache.org>
Authored: Tue Aug 26 11:16:24 2014 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Tue Aug 26 11:16:24 2014 -0700

----------------------------------------------------------------------
 resources/checkstyle.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/bf678edb/resources/checkstyle.xml
----------------------------------------------------------------------
diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml
index 35fd9ea..f3e3fb4 100644
--- a/resources/checkstyle.xml
+++ b/resources/checkstyle.xml
@@ -35,6 +35,11 @@
 -->
         <module name="ModifierOrder"/>
         <module name="MultipleVariableDeclarations"/>
+        <module name="NoWhitespaceAfter">
+            <!-- ARRAY_INIT disabled -->
+            <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
+        </module>
+        <module name="NoWhitespaceBefore"/>
         <module name="RedundantImport"/>
         <module name="RedundantModifier">
             <!-- VARIABLE_DEF disabled -->