< prev index next >
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/hpack/StringWriter.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -60,11 +60,13 @@
StringWriter configure(CharSequence input, boolean huffman) {
return configure(input, 0, input.length(), huffman);
}
- StringWriter configure(CharSequence input, int start, int end,
+ StringWriter configure(CharSequence input,
+ int start,
+ int end,
boolean huffman) {
if (start < 0 || end < 0 || end > input.length() || start > end) {
throw new IndexOutOfBoundsException(
String.format("input.length()=%s, start=%s, end=%s",
input.length(), start, end));
< prev index next >