You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ja...@apache.org on 2009/03/28 21:05:55 UTC
svn commit: r759567 - in /incubator/jspwiki/trunk/src/java/org/apache/wiki:
JCRWikiPage.java api/WikiPage.java
Author: jalkanen
Date: Sat Mar 28 20:05:54 2009
New Revision: 759567
URL: http://svn.apache.org/viewvc?rev=759567&view=rev
Log:
Removed unused methods.
Modified:
incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java
incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.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=759567&r1=759566&r2=759567&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/JCRWikiPage.java Sat Mar 28 20:05:54 2009
@@ -527,18 +527,6 @@
}
- public void setSize( long size )
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setVersion( int version )
- {
- // TODO Auto-generated method stub
-
- }
-
public WikiPage getParent() throws PageNotFoundException, ProviderException
{
return m_engine.getContentManager().getPage( m_name.getParent() );
Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java?rev=759567&r1=759566&r2=759567&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java Sat Mar 28 20:05:54 2009
@@ -120,22 +120,6 @@
public Date getLastModified();
/**
- * Sets the last modification date. In general, this is only
- * changed by the provider.
- *
- * @param date The date
- */
- public void setLastModified( Date date );
-
- /**
- * Sets the page version. In general, this is only changed
- * by the provider.
- *
- * @param version The version number
- */
- public void setVersion( int version );
-
- /**
* Returns the version that this WikiPage instance represents.
*
* @return the version number of this page.
@@ -151,14 +135,6 @@
public long getSize();
/**
- * Sets the size. Typically called by the provider only.
- *
- * @param size The size of the page.
- * @since 2.1.109
- */
- public void setSize( long size );
-
- /**
* Returns the Acl for this page. May return <code>null</code>,
* in case there is no Acl defined, or it has not
* yet been set by {@link #setAcl(Acl)}.