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
1 answer

getColor(int) is deprecated how i can use getColor(int,theme theme)

getColor(int) is deprecated . How can I use getColor(int, theme theme)? I used some lessons and I can't found how I can use getColor(int, theme theme).
1
vote
1 answer

Is didRotateFromInterfaceOrientation deprecated?

I am trying to implement didRotateFromInterfaceOrientation method to notify orientation change but in iOS 10 and Xcode 8.1 it is showing like deprecate method. Is it deprecated? If Yes then what are the replacements?
M Swapnil
  • 2,361
  • 3
  • 18
  • 33
1
vote
1 answer

Multiple Python versions in Debian

Im trying to manage multiple python versions in Debian 8, Python 2.7 (default) and 2.6. The problem is, i dont now how to do correctly for installing modules in the 2.6 version. pip is deprecated for 2.6.
eifersucht
  • 661
  • 8
  • 26
1
vote
1 answer

How can I get the "&format=txt" mediawiki api option back?

My program relies on an API option in Media wiki After reinstalling mediawiki on Ubuntu 16.10, the option no longer exists: Because of this: How can I get this option back?
Anon
  • 2,267
  • 3
  • 34
  • 51
1
vote
4 answers

How to change sendSynchronousRequest:urlRequest because is Deprecated

I'm starter in Objective - C, I have a method - (void)getAltitudeFromElevationFromAlt:(float)latitude Long:(float)longitude{ dispatch_async( dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSString *apiKey =…
1
vote
3 answers

Replacement for deprecated UpdateSystemActivity() to reset timers used to measure idle time.

The deprecated UpdateSystemActivity() works by "notifying the Power Manager that activity has taken place and the timers used to measure idle time should be updated to the time of this call." The documentation recommends using…
Lenny
  • 388
  • 3
  • 15
1
vote
1 answer

Notification count in Android Nougat (SDK 24)

Is there any replacement for Notification.number field that was deprecated with Android API 24? Documentation says: This field was deprecated in API level 24. this number is not shown anymore Looks like Notification.EXTRA_INFO_TEXT also gives…
1
vote
1 answer

why is clojure parallel deprecated

I just found out about an old part of Clojure: clojure.parallel http://clojure.org/reference/other_libraries#_parallel_processing_deprecated Out of curiosity, why has it been deprecated?
nha
  • 17,623
  • 13
  • 87
  • 133
1
vote
0 answers

Do I have to use Deprecated methods along with the new ones?

So i'm making an application, and i'm using Maps API on Android and i have these two methods locManager.registerGnssStatusCallback(Callback){} locManager.addGpsStatusListener(Listener){} @Override public void onGpsStatusChanged(int i) { …
Diogo Rosa
  • 756
  • 1
  • 5
  • 24
1
vote
1 answer

form._raw_value(fieldname) gone in Django 1.9

I have code which uses form._raw_value(fieldname). This is gone in Django 1.9. Is there a way to access the raw value in 1.9+? Update I am only migrating the code to Django 1.9. Up to now I have no deeper understanding of what's going on there in…
guettli
  • 25,042
  • 81
  • 346
  • 663
1
vote
1 answer

Rails, Mongrel and deprecation warnings

When I do script/server I don't seem to get any deprecation warnings. I know that I should at least be getting one about {{word}} in I18N. Can anyone point out where I can find them? Or how I can enable the deprecation warnings? Regards, Jacob
jriff
  • 1,947
  • 3
  • 23
  • 33
1
vote
1 answer

Import Old Eclipse Project Into Android Studio

all. I made an Android app about 3 or 4 years ago and have not been doing any upkeep. I used Eclipse and I still have the compiling (in theory) workspace. Unfortunately, the app no longer works properly so I'm looking to make an edit, but Eclipse is…
CodeMonkey
  • 1,795
  • 3
  • 16
  • 46
1
vote
1 answer

Transact-SQL DEFAULT keyword deprecated? Why?

In MSDN article Deprecated Database Engine Features in SQL Server 2016 there is a statement on deprecation of DEFAULT keyword (among the others). Quoted from the table: Category: Transact-SQL Deprecated feature: Use of DEFAULT keyword as default…
miroxlav
  • 11,796
  • 5
  • 58
  • 99
1
vote
1 answer

CursorAdapter deprecated?

I recently wrote a StackOverflow Documentation example, illustrating how to populate a ListView from a database using a SimpleCursorAdapter. It got rejected by with the following motivation: Nobody should be using CursorAdapters anymore. They were…
1
vote
4 answers

Fix XmlBeanFactory Deprecated error Spring

These days I'm learning Spring Framework. And I'm following some youtube videos. According to the video I wrote my first code in Spring as same as the tutorial. But at a point I'm getting XmlBeanFactory deprecated warning which are not shown in…
user5099413