From 0f26ebe939061ed7c8cc490e9384ea4b6b34cf0e Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Fri, 2 May 2008 00:32:20 +0000 Subject: [PATCH] Make field final so it is guaranteed to be published git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652721 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java index 5094f5ec1..fff0bb4c5 100644 --- a/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java +++ b/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java @@ -50,7 +50,7 @@ public class BasicPoolEntry extends AbstractPoolEntry { * Pool entries can only be GCed when they are allocated by an application * and therefore not referenced with a hard link in the manager. */ - private BasicPoolEntryRef reference; + private final BasicPoolEntryRef reference; /** * Creates a new pool entry.