Top "Deprecated" questions

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded.

Non Deprecated findPreference() Method? - Android

I want to detect when a Preference contained in a ListView gets clicked, so that I can launch an intent …

java android android-fragments deprecated android-preferences
MockitoJUnitRunner is deprecated

I'm trying to make a unit test with @InjectMocks and @Mock. @RunWith(MockitoJUnitRunner.class) public class ProblemDefinitionTest { @InjectMocks ProblemDefinition problemDefinition; @…

java mockito deprecated
org.hibernate.annotations.Entity deprecated in Hibernate 4?

I am attempting to update to Hibernate 4 and I am getting that org.hibernate.annotations.Entity is deprecated. None of …

java hibernate deprecated
Why was "new Date(int year, int month, int day)" deprecated?

My application I've recently inherited is FULL of deprecation warnings about the constructor: Date d = new Date(int year, int …

java date deprecated
'automaticallyAdjustsScrollViewInsets' was deprecated in iOS 11.0

I just started compiling up to iOS 11 and noticed that Apple now declared the property var automaticallyAdjustsScrollViewInsets: Bool { get set } …

ios swift xcode deprecated
PHP Fatal error: Call-time pass-by-reference has been removed

I have an oldish script and lately I get this error: Fatal error: Call-time pass-by-reference has been removed in /****/******/public_…

php deprecated fatal-error
Subscribe is deprecated: Use an observer instead of an error callback

When I run the linter it says: subscribe is deprecated: Use an observer instead of an error callback Code (from …

callback rxjs deprecated tslint subscribe
Observer is deprecated in Java 9. What should we use instead of it?

Java 9 came out, and Observer has been deprecated. Why is that? Does it mean that we shouldn't implement observer pattern …

java java-8 deprecated observer-pattern java-9
Is it possible to mark something as deprecated in typescript?

I'm writing typescript definitions for a Javascript API with a deprecated method. Here's an extract of the documentation (they say …

typescript deprecated deprecation-warning typescript-definitions
Why is mime_content_type() deprecated in PHP?

I'm just curious to know why mime_content_type() is now considered deprecated. This method for determining the mime type …

php mime-types deprecated