File: 02-remove-iq80-snappy-support.patch

package info (click to toggle)
leveldb-java 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,020 kB
  • ctags: 1,787
  • sloc: java: 12,023; xml: 662; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Disable the support for the pure Java iq80 snappy implementation
 since this library isn't in Debian yet and use only the JNI based snappy-java
 implementation.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/leveldb/src/main/java/org/iq80/leveldb/util/Snappy.java
+++ b/leveldb/src/main/java/org/iq80/leveldb/util/Snappy.java
@@ -60,6 +60,7 @@
         }
     }
     
+/*
     public static class IQ80Snappy implements SPI {
         static {
             // Make sure that the library can fully load.
@@ -130,7 +131,7 @@
             return org.iq80.snappy.Snappy.maxCompressedLength(length);
         }
     }
-
+*/
     static final private SPI SNAPPY;
     static {
         SPI attempt = null;