From e01077db8aab6d140784edeeb81a2985b255ebc6 Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Tue, 2 Aug 2011 15:15:15 +0900 Subject: [PATCH] Add comment --- src/main/java/org/xerial/snappy/SnappyLoader.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/org/xerial/snappy/SnappyLoader.java b/src/main/java/org/xerial/snappy/SnappyLoader.java index 3e46379..40ec2a2 100755 --- a/src/main/java/org/xerial/snappy/SnappyLoader.java +++ b/src/main/java/org/xerial/snappy/SnappyLoader.java @@ -239,6 +239,17 @@ public class SnappyLoader } + /** + * Load snappy-java's native code using load method of the + * SnappyNativeLoader class injected to the root class loader. + * + * @param loaderClass + * @throws SecurityException + * @throws NoSuchMethodException + * @throws IllegalArgumentException + * @throws IllegalAccessException + * @throws InvocationTargetException + */ private static void loadNativeLibrary(Class< ? > loaderClass) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException { if (loaderClass == null)