Skip to content
Permalink
Browse files
8273250: Address javadoc issues in Deflater::setDictionationary
Reviewed-by: rriggs, naoto, iris, bpb
  • Loading branch information
Lance Andersen committed Sep 2, 2021
1 parent 5ee5dd9 commit aaa6f696b06b335f81efccf0966612b086dd2e73
Showing 1 changed file with 4 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -293,7 +293,7 @@ public void setInput(ByteBuffer input) {
* @param off the start offset of the data
* @param len the length of the data
* @see Inflater#inflate
* @see Inflater#getAdler
* @see Inflater#getAdler()
*/
public void setDictionary(byte[] dictionary, int off, int len) {
Preconditions.checkFromIndexSize(len, off, dictionary.length, Preconditions.AIOOBE_FORMATTER);
@@ -311,7 +311,7 @@ public void setDictionary(byte[] dictionary, int off, int len) {
* decompression.
* @param dictionary the dictionary data bytes
* @see Inflater#inflate
* @see Inflater#getAdler
* @see Inflater#getAdler()
*/
public void setDictionary(byte[] dictionary) {
setDictionary(dictionary, 0, dictionary.length);
@@ -329,7 +329,7 @@ public void setDictionary(byte[] dictionary) {
*
* @param dictionary the dictionary data bytes
* @see Inflater#inflate
* @see Inflater#getAdler
* @see Inflater#getAdler()
*/
public void setDictionary(ByteBuffer dictionary) {
synchronized (zsRef) {

1 comment on commit aaa6f69

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on aaa6f69 Sep 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.