Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 61051 invoked from network); 28 Apr 2003 16:47:08 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 28 Apr 2003 16:47:08 -0000 Received: (qmail 19200 invoked by uid 97); 28 Apr 2003 16:49:09 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 19193 invoked from network); 28 Apr 2003 16:49:09 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 28 Apr 2003 16:49:09 -0000 Received: (qmail 60818 invoked by uid 500); 28 Apr 2003 16:47:05 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 60805 invoked by uid 500); 28 Apr 2003 16:47:05 -0000 Received: (qmail 60797 invoked from network); 28 Apr 2003 16:47:05 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 28 Apr 2003 16:47:05 -0000 Received: (qmail 79404 invoked by uid 1452); 28 Apr 2003 16:47:04 -0000 Date: 28 Apr 2003 16:47:04 -0000 Message-ID: <20030428164704.79403.qmail@icarus.apache.org> From: juanco@apache.org To: jakarta-commons-sandbox-cvs@apache.org Subject: cvs commit: jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs BranchNode.java TrunkNode.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N juanco 2003/04/28 09:47:04 Modified: jrcs jrcs.jpx jrcs/src/java/org/apache/commons/jrcs/rcs BranchNode.java TrunkNode.java Log: BUG: overriding public methods with protected replacements Revision Changes Path 1.2 +42 -42 jakarta-commons-sandbox/jrcs/jrcs.jpx Index: jrcs.jpx =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/jrcs.jpx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jrcs.jpx 28 Sep 2002 15:57:47 -0000 1.1 +++ jrcs.jpx 28 Apr 2003 16:47:03 -0000 1.2 @@ -1,46 +1,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.2 +6 -6 jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/BranchNode.java Index: BranchNode.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/BranchNode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BranchNode.java 28 May 2002 16:45:51 -0000 1.1 +++ BranchNode.java 28 Apr 2003 16:47:03 -0000 1.2 @@ -108,12 +108,12 @@ /** - * Set the next node in the RCS logical hierarcy. - * Update the _parent and _child node accordingly. + * Set the next node in the RCS logical hierarcy. + * Update the _parent and _child node accordingly. * For BranchNodes, the RCS-next is a child, that is, * a node with a larger version number. */ - protected void setRCSNext(Node node) + public void setRCSNext(Node node) { super.setRCSNext(node); if (this.getChild() != null) @@ -127,12 +127,12 @@ } } - protected Node deltaRevision() + public Node deltaRevision() { return this; } - protected Node nextInPathTo(Version vernum, boolean soft) + public Node nextInPathTo(Version vernum, boolean soft) throws NodeNotFoundException { Version branchPoint = vernum.getBase(this.version.size()); 1.2 +6 -6 jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/TrunkNode.java Index: TrunkNode.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/TrunkNode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TrunkNode.java 28 May 2002 16:45:53 -0000 1.1 +++ TrunkNode.java 28 Apr 2003 16:47:03 -0000 1.2 @@ -102,11 +102,11 @@ } /** - * Set the next node in the RCS logical hierarcy. - * Update the _parent and _child node accordingly. + * Set the next node in the RCS logical hierarcy. + * Update the _parent and _child node accordingly. * For a TrunkNode, the RCS-next is the immediate parent. */ - protected void setRCSNext(Node node) + public void setRCSNext(Node node) { super.setRCSNext(node); if (this.getParent() != null) @@ -121,12 +121,12 @@ } - protected Node deltaRevision() + public Node deltaRevision() { return (getChild() != null ? getChild() : this); } - protected Node nextInPathTo(Version vernum, boolean soft) + public Node nextInPathTo(Version vernum, boolean soft) throws NodeNotFoundException { Version branchPoint = vernum.getBase(2); --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org