Skip to content
Browse files

Make compress(byte[]) static

  • Loading branch information...
1 parent cce0d58 commit 52dac8091d37adde0dd8406528180b44acefefc3 @stevenschlansker stevenschlansker committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/iq80/snappy/Snappy.java
View
2 src/main/java/org/iq80/snappy/Snappy.java
@@ -63,7 +63,7 @@ public static int compress(
}
- public byte[] compress( byte[] data) {
+ public static byte[] compress( byte[] data) {
byte[] compressedOut = new byte[maxCompressedLength(data.length)];
int compressedSize = compress(data, 0, data.length, compressedOut, 0);
byte[] trimmedBuffer = Arrays.copyOf(compressedOut, compressedSize);

0 comments on commit 52dac80

Please sign in to comment.
Something went wrong with that request. Please try again.