diff --git a/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java b/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java index 9d605086d..15fa49d55 100644 --- a/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java +++ b/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java @@ -34,6 +34,8 @@ package org.apache.http.impl.conn.tsccm; import java.lang.ref.WeakReference; import java.lang.ref.ReferenceQueue; +import net.jcip.annotations.Immutable; + import org.apache.http.conn.routing.HttpRoute; @@ -45,10 +47,11 @@ import org.apache.http.conn.routing.HttpRoute; * * @since 4.0 */ +@Immutable public class BasicPoolEntryRef extends WeakReference { /** The planned route of the entry. */ - private final HttpRoute route; + private final HttpRoute route; // HttpRoute is @Immutable /**