Return-Path: Delivered-To: apmail-incubator-jspwiki-commits-archive@minotaur.apache.org Received: (qmail 28340 invoked from network); 17 Mar 2009 02:13:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 02:13:54 -0000 Received: (qmail 53303 invoked by uid 500); 17 Mar 2009 02:13:54 -0000 Delivered-To: apmail-incubator-jspwiki-commits-archive@incubator.apache.org Received: (qmail 53294 invoked by uid 500); 17 Mar 2009 02:13:53 -0000 Mailing-List: contact jspwiki-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-commits@incubator.apache.org Received: (qmail 53285 invoked by uid 99); 17 Mar 2009 02:13:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2009 19:13:53 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 02:13:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D7B2423888CA; Tue, 17 Mar 2009 02:13:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r755077 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java Date: Tue, 17 Mar 2009 02:13:32 -0000 To: jspwiki-commits@incubator.apache.org From: ajaquith@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090317021332.D7B2423888CA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ajaquith Date: Tue Mar 17 02:13:31 2009 New Revision: 755077 URL: http://svn.apache.org/viewvc?rev=755077&view=rev Log: JCRWikiPage.equals() is no longer commented out. The lack of a functioning equals() method was hosing LOTS of unit tests. Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java?rev=755077&r1=755076&r2=755077&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java Tue Mar 17 02:13:31 2009 @@ -409,9 +409,6 @@ * * {@inheritDoc} */ - // TODO: I have a suspicion that defining this method causes some problems - // with page attributes and caching. So as of 2.7.32, it's disabled. - /* public boolean equals( Object o ) { if( o != null && o instanceof WikiPage ) @@ -429,7 +426,7 @@ return false; } - */ + /* (non-Javadoc) * @see org.apache.wiki.WikiPage#hashCode() */