Questions tagged [deprecated]

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded. Use this tag for questions about deprecated features or how to deprecate features yourself (e.g. using annotations).

In the process of authoring computer software, its standards or documentation, deprecation is a status applied to software features to indicate that they should be avoided, typically because they have been superseded. Although deprecated features remain in the software, their use may raise warning messages recommending alternative practices, and deprecation may indicate that the feature will be removed in the future.

Features are deprecated—rather than immediately removed—in order to provide backward compatibility and give programmers who have used the feature time to bring their code into compliance with the new standard.

2508 questions
1
vote
0 answers

OracleConnectionCacheImpl not working with ojdbc7

The following code was working with ojdbc14 but started to give error with ojdbc7 which i had to use for connection with oracle 12c. OracleConnectionCacheImpl occ = new…
1
vote
3 answers

Jquery document.body.background

I'm having some trouble with a jquery script that is supposed to change my body element's background image when a link is pressed. It works great, the only problem I have is that the page has to have no background set in CSS, and be blank before any…
1
vote
1 answer

How can I make PhpStorm warn me about deprecated HTML features?

I would like PhpStorm to warn me about deprecated features in my HTML code. At first, I thought this was somehow not working correctly when writing HTML code in PHP files, but now I tried it with an HTML-only file and there are still no…
Chris
  • 6,914
  • 5
  • 54
  • 80
1
vote
1 answer

WebStorage.QuotaUpdater is deprecated. What to use instead?

I'm migrating my old project from Eclipse to Android Studio. Since WebStorage.QuotaUpdater is deprecated in API level 19, what should I use in replacement for this?
R. C.
  • 95
  • 1
  • 7
1
vote
1 answer

naturalSize API deprecated from AVAsset Class in Swift

'naturalSize' is unavailable: APIs deprecated as of iOS 7 and earlier are unavailable in Swift let videoAsst = AVAsset() videoAsst.assetWithURL(videoUrl) let videoSize = videoAsst.naturalSize Please help me to which API is used to get…
Ankit Jain
  • 1,858
  • 22
  • 35
1
vote
2 answers

Why is my TextToSpeech not making sound?

I am developing an app that requires text to speech. So I read a few tts tutorials and did this: public void buttonClick (View view) { TextToSpeech tts = new TextToSpeech (this, new TextToSpeech.OnInitListener () { @Override …
Sweeper
  • 213,210
  • 22
  • 193
  • 313
1
vote
1 answer

Symfony 2.7.6 global extensions & deprecated warnings : app.user can't be compared with other users

Good evening, I recently upgraded to symfony 2.7.6. Beside it helped me to setup the HWIOAuthBundle, i noticed a bug in a template that was doing well before. The following test is never valid, although I'm connected as the creator of this event! {%…
Louis
  • 25
  • 6
1
vote
1 answer

Google Image Search API (Deprecated)

As it is stated on their website Google has stopped maintaining the Image search API and it is now deprecated. This is from 2011, as of their policy the API is working for 3 more years before they shut it down. It is now way more than 3 years and…
risto
  • 100
  • 8
1
vote
0 answers

How to read Finder icons (left source list) on OS X using Swift - deprecated method

I will start new thread since this question is deprecated How to read Finder icons (left source list) on OS X using Swift as Apple source code says: @available(OSX, introduced=10.5, deprecated=10.11, message="This functionality is no longer…
patmar
  • 221
  • 1
  • 12
1
vote
1 answer

reactjs - this is not a function error on upgrade

I am actually updating https://github.com/ezequiel/react-typeahead-component this component to be compatible to react >= 0.14 but while changing the methods I just run into one error: Exchange this.getDOMnode for the reason it is deprecated with…
bdart
  • 745
  • 6
  • 18
1
vote
0 answers

Unable to use NameValuePair in Android Studio

I want to upload data to a server from my android application.For this I want to use NameValuePair in my code ArrayList nameValuePairs = new ArrayList(); nameValuePairs.add(new…
user317461
  • 185
  • 1
  • 2
  • 8
1
vote
2 answers

iPhone 4.0 compatibility issue

I am developed one iPhone application which is working good in iphone 3.0. While i am doing comparability with 4.0 it is giving some deprecated workings. Please find the code below..... [[UIApplication sharedApplication] setStatusBarHidden:YES…
vulvaji
  • 21
  • 4
1
vote
2 answers

Developing with deprecated frameworks

I have a general question as I found many frameworks are deprecated in iOS 9. Consider developing for iOS 7 and above with the latest Xcode and iOS SDK. I'm going to use UIAlertView which is deprecated in iOS 9 and replaced with UIAlertController.…
Hadi Sharghi
  • 903
  • 16
  • 33
1
vote
1 answer

How to convert wcstombs to wcstombs_s

How can I convert the following code to use wcstombs_s instead of wcstombs? char dbcs[1024]; char *pbstr = (char *)pPropVar->bstrVal; int i = wcstombs(dbcs, pPropVar->bstrVal, *((DWORD *)(pbstr - 4)));
Frank Martin
  • 3,147
  • 16
  • 52
  • 73
1
vote
2 answers

Alternatives for deprecated code in java?

I'm currently learning GUI applications from a book called "starting out with java". I've tried one of the author's code examples regarding JList, but it turns out that the getSelectedValues() in ButtonListener is already deprecated. I just want to…
Pearl
  • 123
  • 1
  • 7