Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 68578 invoked from network); 11 Apr 2011 04:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 04:51:53 -0000 Received: (qmail 41385 invoked by uid 500); 11 Apr 2011 04:51:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 41122 invoked by uid 500); 11 Apr 2011 04:51:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 41110 invoked by uid 99); 11 Apr 2011 04:51:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 04:51:46 +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; Mon, 11 Apr 2011 04:51:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B54A49C57E for ; Mon, 11 Apr 2011 04:51:05 +0000 (UTC) Date: Mon, 11 Apr 2011 04:51:05 +0000 (UTC) From: "Daniel Savarese (JIRA)" To: issues@commons.apache.org Message-ID: <534706634.48300.1302497465739.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1187135388.15154.1301239385771.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (NET-393) Should the sendCommandWithID() methods be public? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/NET-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018195#comment-13018195 ] Daniel Savarese commented on NET-393: ------------------------------------- sendCommandWithID being public is consistent with the original design intent for base protocol classes. Why are you not discussing these issues on the development mailing list first? > Should the sendCommandWithID() methods be public? > ------------------------------------------------- > > Key: NET-393 > URL: https://issues.apache.org/jira/browse/NET-393 > Project: Commons Net > Issue Type: Sub-task > Reporter: Sebb > Priority: Minor > > Should the sendCommandWithID() methods be public? > These allow the user to override the tag generation, or even send invalid tags. > I think it would be better to reserve these for internal use. > If a use case for them is found later, the visibility can be changed back. > But reducing visibility breaks binary compatibility - best to start with minimal visibility (and mutabiliy) and relax as necessary later. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira