MailFactory.isSendingDisabled() is deprecated

Erik Gotera July 3, 2015

Hello,

I am trying to update code to work in JIRA 6.4.7. I found this method MailFactory.isSendingDisabled() and I can't find the alternative to the new version.

Can you help me?

Thanks!!!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Hangsu Ma
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2015

Hi Erik,

In the javadoc it says 

/**
     * @deprecated since 2.5.0. Use {@link com.atlassian.mail.Settings#isSendingDisabled()} instead
     */

the Settings class is in same package same jar.

Erik Gotera July 5, 2015

Hi Hangsu, Thanks for the quick answers. Please, can you give the URL where you find this info? Greetings!

Hangsu Ma
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2015

it's in the javadoc, if you are not seeing it in your IDE, then you are probably not using atlas SDK, have a look at this: https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project if you are using the sdk, then just run atlas-mvn eclipse:clean eclipse:eclipse. You should also be able to down load JIRA source in your atlassian my account page.

TAGS
AUG Leaders

Atlassian Community Events