[Related to http://issues.apache.org/bugzilla/show_bug.cgi?id=28189]

<quote src="Guido Capser">
As for WebDAVRepsoitoryVersioningHelper.setVersioned(): I don't think it
is a good idea to throw an 
UnsupportedOperationException only under certain conditions.
</quote>

Agreed.

Maybe it makes sense to split setVersioned(String, boolean) into two
methods

1.) setVersioned(String)
2.) unsetVersioned(String)

in order to be more flexible in the implementation decisions?

<quote src="Guido Capser">
A setVersioned(uri, false) might be implemented by deleting and  
recreating the 
resource (making copies for safety and checking for auto-versioning).
</quote>

Ehem, how can I check for auto-versioning?

-- 
Regards,

    Rolf Kulemann

Reply via email to