[xwiki-devs] [proposal] Deprecate com.xpn.xwiki.api.Context#getUtil()
Hi, I would like to hard deprecate com.xpn.xwiki.api.Context#getUtil(). It exposes functions to the user which are not optimized for scripting and some of which are security vulnerabilities. This class is not in the api package and it appears that it was never intended to be exposed to the user. +1 @Deprecated. Caleb
+0 On Thu, Oct 7, 2010 at 15:19, Caleb James DeLisle <[email protected]> wrote:
Hi, I would like to hard deprecate com.xpn.xwiki.api.Context#getUtil(). It exposes functions to the user which are not optimized for scripting and some of which are security vulnerabilities. This class is not in the api package and it appears that it was never intended to be exposed to the user.
+1 @Deprecated.
Caleb
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On 10/07/2010 03:19 PM, Caleb James DeLisle wrote:
Hi, I would like to hard deprecate com.xpn.xwiki.api.Context#getUtil(). It exposes functions to the user which are not optimized for scripting and some of which are security vulnerabilities. This class is not in the api package and it appears that it was never intended to be exposed to the user.
+1 @Deprecated.
+1. Define "hard" deprecate? -- Sergiu Dumitriu http://purl.org/net/sergiu/
On 10/07/2010 11:56 AM, Sergiu Dumitriu wrote:
On 10/07/2010 03:19 PM, Caleb James DeLisle wrote:
Hi, I would like to hard deprecate com.xpn.xwiki.api.Context#getUtil(). It exposes functions to the user which are not optimized for scripting and some of which are security vulnerabilities. This class is not in the api package and it appears that it was never intended to be exposed to the user.
+1 @Deprecated.
+1.
Define "hard" deprecate?
Soft deprecate is to only put @deprecated in the javadoc. Hard deprecate = @Deprecated annotation so that it puts warnings in the logs when used. I thought I read those terms somewhere, maybe I imagined it.
+1 Alex On 10/07/2010 03:19 PM, Caleb James DeLisle wrote:
Hi, I would like to hard deprecate com.xpn.xwiki.api.Context#getUtil(). It exposes functions to the user which are not optimized for scripting and some of which are security vulnerabilities. This class is not in the api package and it appears that it was never intended to be exposed to the user.
+1 @Deprecated.
Caleb
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+0 Thanks, Marius On 10/07/2010 04:19 PM, Caleb James DeLisle wrote:
Hi, I would like to hard deprecate com.xpn.xwiki.api.Context#getUtil(). It exposes functions to the user which are not optimized for scripting and some of which are security vulnerabilities. This class is not in the api package and it appears that it was never intended to be exposed to the user.
+1 @Deprecated.
Caleb
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (5)
-
Alex Busenius -
Caleb James DeLisle -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne