diff options
Diffstat (limited to 'java/org/brotli/wrapper/dec')
-rw-r--r-- | java/org/brotli/wrapper/dec/BUILD | 2 | ||||
-rw-r--r-- | java/org/brotli/wrapper/dec/DecoderJNI.java | 2 | ||||
-rw-r--r-- | java/org/brotli/wrapper/dec/decoder_jni.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/java/org/brotli/wrapper/dec/BUILD b/java/org/brotli/wrapper/dec/BUILD index 7a99e98..985c928 100644 --- a/java/org/brotli/wrapper/dec/BUILD +++ b/java/org/brotli/wrapper/dec/BUILD @@ -7,7 +7,7 @@ filegroup( srcs = [ "decoder_jni.cc", "decoder_jni.h", - # TODO: investigate, why this prevents JNI library loading. + # TODO(eustas): investigate, why this prevents JNI library loading. #"decoder_jni_onload.cc", ], ) diff --git a/java/org/brotli/wrapper/dec/DecoderJNI.java b/java/org/brotli/wrapper/dec/DecoderJNI.java index fc5225d..7b8dace 100644 --- a/java/org/brotli/wrapper/dec/DecoderJNI.java +++ b/java/org/brotli/wrapper/dec/DecoderJNI.java @@ -126,7 +126,7 @@ public class DecoderJNI { @Override protected void finalize() throws Throwable { if (context[0] != 0) { - /* TODO: log resource leak? */ + /* TODO(eustas): log resource leak? */ destroy(); } super.finalize(); diff --git a/java/org/brotli/wrapper/dec/decoder_jni.cc b/java/org/brotli/wrapper/dec/decoder_jni.cc index ba341a3..3328a1a 100644 --- a/java/org/brotli/wrapper/dec/decoder_jni.cc +++ b/java/org/brotli/wrapper/dec/decoder_jni.cc @@ -79,7 +79,7 @@ Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate( } if (ok) { - /* TODO: future versions (e.g. when 128-bit architecture comes) + /* TODO(eustas): future versions (e.g. when 128-bit architecture comes) might require thread-safe cookie<->handle mapping. */ context[0] = reinterpret_cast<jlong>(handle); } else if (!!handle) { |