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/11/25 23:54:41 UTC
svn commit: r884323 -
/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java
Author: jalkanen
Date: Wed Nov 25 22:54:41 2009
New Revision: 884323
URL: http://svn.apache.org/viewvc?rev=884323&view=rev
Log:
Removed some extra save()s and obsolete code. Just commented out for now.
Modified:
incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java
Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java?rev=884323&r1=884322&r2=884323&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/ReferenceManager.java Wed Nov 25 22:54:41 2009
@@ -413,7 +413,7 @@
p.setAttribute( WikiPage.CHANGENOTE, fromPage.toString() + " ==> " + toPage.toString() );
p.setContent( newText );
// TODO: do we want to set the author here? (We used to...)
- cm.save( p );
+// cm.save( p );
setLinks( path, extractLinks( toPage ) );
}
}
@@ -1034,6 +1034,7 @@
newValues.add( valueString );
}
}
+ /*
if( newValues.size() == 0 )
{
// There seems to be a bug in Priha that causes property files to bloat,
@@ -1041,6 +1042,7 @@
p.remove();
s.save();
}
+ */
}
catch( PathNotFoundException e )
{
@@ -1052,7 +1054,7 @@
{
node.setProperty( property, newValues.toArray( new String[newValues.size()] ) );
}
- s.save();
+// s.save();
}
/**