You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2020/09/04 09:53:56 UTC

[lucene-solr] branch branch_8x updated: LUCENE-9500: There is no setDictionary(ByteBuffer) in JDK8.

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new d729989  LUCENE-9500: There is no setDictionary(ByteBuffer) in JDK8.
d729989 is described below

commit d7299890c75bfe403f14390a0dfb70e2689fdf3c
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Fri Sep 4 11:51:49 2020 +0200

    LUCENE-9500: There is no setDictionary(ByteBuffer) in JDK8.
---
 .../org/apache/lucene/codecs/lucene87/BugfixDeflater_JDK8252739.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene87/BugfixDeflater_JDK8252739.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene87/BugfixDeflater_JDK8252739.java
index ae5b901..23a5f50 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene87/BugfixDeflater_JDK8252739.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene87/BugfixDeflater_JDK8252739.java
@@ -32,8 +32,8 @@ final class BugfixDeflater_JDK8252739 extends Deflater {
   /**
    * Creates a {@link Deflater} instance, which works around JDK-8252739.
    * <p>
-   * Use this whenever you intend to call {@link #setDictionary(byte[], int, int)} or
-   * {@link #setDictionary(java.nio.ByteBuffer)} on a {@code Deflater}.
+   * Use this whenever you intend to call {@link #setDictionary(byte[], int, int)}
+   * on a {@code Deflater}.
    * */
   public static Deflater createDeflaterInstance(int level, boolean nowrap, int dictLength) {
     if (dictLength < 0) {