8 Oct
2010
8 Oct
'10
1:05 a.m.
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.