diff --git a/httpclient/src/main/java/org/apache/http/conn/EofSensorInputStream.java b/httpclient/src/main/java/org/apache/http/conn/EofSensorInputStream.java index 7146cb5d2..643417dfa 100644 --- a/httpclient/src/main/java/org/apache/http/conn/EofSensorInputStream.java +++ b/httpclient/src/main/java/org/apache/http/conn/EofSensorInputStream.java @@ -71,7 +71,7 @@ public class EofSensorInputStream extends InputStream implements ConnectionRelea private boolean selfClosed; /** The watcher to be notified, if any. */ - private EofSensorWatcher eofWatcher; + private final EofSensorWatcher eofWatcher; /** * Creates a new EOF sensor.