You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2009/03/17 03:13:32 UTC
svn commit: r755077 -
/incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java
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()
*/