commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject commons-compress git commit: Fix alignment
Date Sat, 14 May 2016 12:05:46 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master 59e7352a4 -> d04e2a7ef


Fix alignment


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

Branch: refs/heads/master
Commit: d04e2a7efac9968cd800686a5aba883f61ffd6c2
Parents: 59e7352
Author: Sebb <sebb@apache.org>
Authored: Sat May 14 13:05:20 2016 +0100
Committer: Sebb <sebb@apache.org>
Committed: Sat May 14 13:05:20 2016 +0100

----------------------------------------------------------------------
 .../commons/compress/compressors/snappy/PureJavaCrc32C.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/d04e2a7e/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
b/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
index 53e5c55..f5ec54c 100644
--- a/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
+++ b/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
@@ -43,18 +43,18 @@ class PureJavaCrc32C implements Checksum {
   }
 
   @Override
-public long getValue() {
+  public long getValue() {
     final long ret = crc;
     return (~ret) & 0xffffffffL;
   }
 
   @Override
-public void reset() {
+  public void reset() {
     crc = 0xffffffff;
   }
 
   @Override
-public void update(final byte[] b, int off, int len) {
+  public void update(final byte[] b, int off, int len) {
     int localCrc = crc;
 
     while(len > 7) {
@@ -95,7 +95,7 @@ public void update(final byte[] b, int off, int len) {
   }
 
   @Override
-final public void update(final int b) {
+  final public void update(final int b) {
     crc = (crc >>> 8) ^ T[T8_0_start + ((crc ^ b) & 0xff)];
   }
     


Mime
View raw message