Skip to content

Commit

Permalink
[JENKINS-36871] Make the method signature more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Aug 3, 2016
1 parent 9ad1ed1 commit a065e8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/jenkinsci/remoting/engine/EngineUtil.java
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a065e8a

Please sign in to comment.