Skip to content
Permalink
Browse files
[JENKINS-36871] Make the method signature more generic
  • Loading branch information
stephenc committed Aug 3, 2016
1 parent 9ad1ed1 commit a065e8a9a914e9065fbead57af00715d7d30e0c0
Showing 1 changed file with 1 addition and 2 deletions.
@@ -23,7 +23,6 @@
*/
package org.jenkinsci.remoting.engine;

import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
@@ -81,7 +80,7 @@ public static String readChars(InputStream inputStream, int len) throws IOExcept
* @return The set of headers stored in a {@link Properties}.
* @throws IOException
*/
protected static Properties readResponseHeaders(BufferedInputStream inputStream) throws IOException {
protected static Properties readResponseHeaders(InputStream inputStream) throws IOException {
Properties response = new Properties();
while (true) {
String line = EngineUtil.readLine(inputStream);

0 comments on commit a065e8a

Please sign in to comment.