You need to sign in to do that
Don't have an account?
Can we not undeprecate a deprecated class or method?
I had released a managed package in released mode. It had a deprecaed global method in a global class. I wish to undeprecate this method in my new package-upload. But, when I remove @deprecated annotation in front of the method and save the class, I get the compilation error:
"Previously deprecated identifier must still be marked @deprecated"
So, my question is:
State whether the following statement is true / false:
"Once you release a package in BETA OR RELEASED MODE, any method(s) or classes(s) which were deprecated in this upload cannot be undeprecated in the next package-upload."
False - if you remove "beta" from your statement, then it is true.
You can simply delete an identifier if it has only be uploaded as beta.