Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4D67957E for ; Tue, 31 Jan 2012 14:10:34 +0000 (UTC) Received: (qmail 21744 invoked by uid 500); 31 Jan 2012 14:10:34 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 21528 invoked by uid 500); 31 Jan 2012 14:10:33 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 21483 invoked by uid 99); 31 Jan 2012 14:10:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 14:10:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 14:10:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 949031815BC for ; Tue, 31 Jan 2012 14:10:10 +0000 (UTC) Date: Tue, 31 Jan 2012 14:10:10 +0000 (UTC) From: "Jon Moore (Closed) (JIRA)" To: dev@hc.apache.org Message-ID: <680733125.11621.1328019010610.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1590848744.9860.1327968790790.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (HTTPCLIENT-1161) httpclient-cache: RequestEquivalent # appendTo : make it take Appendable as opposed to StringBuffer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jon Moore closed HTTPCLIENT-1161. --------------------------------- Resolution: Invalid Assignee: Jon Moore This method is part of the IArgumentMatcher interface from EasyMock: http://easymock.org/api/easymock/3.1/org/easymock/IArgumentMatcher.html#appendTo(java.lang.StringBuffer) Therefore, we're not able to make this change even if we wanted to. Furthermore, this is a test class supporting the various unit tests in httpclient-cache, and hence not a part of the public API. I am in general a subscriber to YAGNI (You Ain't Gonna Need It) and resist premature generalization, particularly of test classes that are project-internal. > httpclient-cache: RequestEquivalent # appendTo : make it take Appendable as opposed to StringBuffer > ---------------------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-1161 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1161 > Project: HttpComponents HttpClient > Issue Type: Improvement > Affects Versions: 4.2 Alpha1 > Reporter: Karthik K > Assignee: Jon Moore > Priority: Minor > Fix For: 4.2 Final > > Attachments: HTTPCLIENT-1161.patch > > > Current signature, reads: > org/apache/http/impl/client/cache/RequestEquivalent.java: > public void appendTo(StringBuffer buf) { > Replace the signature with Appendable, to make it more generic and not tied to StringBuffer. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org