[xwiki-devs] [Proposal] Deprecate more remaining methods with "web" in their name
Hi devs, I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are: - in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?) As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases. WDYT? -- Sergiu Dumitriu http://purl.org/net/sergiu/
+1 On Sat, Jan 30, 2010 at 21:13, Sergiu Dumitriu <[email protected]> wrote:
Hi devs,
I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are:
- in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?)
As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases.
WDYT? -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Jan 30, 2010, at 9:13 PM, Sergiu Dumitriu wrote:
Hi devs,
I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are:
- in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?)
As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases.
WDYT?
Fine with me. Note that in practice we've never enforced the "2 major releases" rule and we've kept deprecated methods longer. I don't know if that's a good idea or not... but them being in an aspect move them out of our way anyway... Thanks -Vincent
+1 Sergiu Dumitriu wrote:
Hi devs,
I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are:
- in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?)
As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases.
WDYT?
On Sat, Jan 30, 2010 at 9:13 PM, Sergiu Dumitriu <[email protected]> wrote:
Hi devs,
I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are:
- in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?)
As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases.
WDYT?
+1 JV.
+1 - Asiri On Sun, Jan 31, 2010 at 1:43 AM, Sergiu Dumitriu <[email protected]> wrote:
Hi devs,
I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are:
- in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?)
As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases.
WDYT? -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 01/30/2010 09:13 PM, Sergiu Dumitriu wrote:
Hi devs,
I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are:
- in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb, getDefaultWeb, useDefaultWeb - in Document: getCurrentMonthWebStats - in objects.BaseClass: get/setDefaultWeb (should we keep the element name in the XML?)
As per our official deprecation strategy, these methods will continue to be present in the generated classes via the deprecation aspect, for at least 2 major releases.
Done, see http://jira.xwiki.org/jira/browse/XWIKI-4851 However, I didn't change BaseClass yet, since the model is a bit more dangerous. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (6)
-
Asiri Rathnayake -
Jean-Vincent Drean -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol