deprecated

How to exclude deprecated public methods from Javadoc?

I would like to generate javadoc for my classes. The 'generate Javadoc' command gives me an option to create Javadoc for members with visibility Private/Package/Protected/Public. But there are some public methods I don't want to be included in the Javadoc. How can I specify for this Javadoc generator exactly which members/methods to incl...

The -nodeprecated option in javadoc doesn't seem to work. What can I do?

I have a deprecated method in my class: @Deprecated public void deprecatedMethod() { //do bad things } I don't want that method to appear in the javadoc. I know there's an option called -nodeprecated which: "Prevents the generation of any deprecated API at all in the documentation." So I'm using this option and it doesn't...

Why is the + operator for List deprecated in Scala?

Why is the + operator for List deprecated in Scala? http://www.scala-lang.org/docu/files/api/scala/List.html#%2B%28B%29 ...

Function in PHP deprecated, what should I use now?

I have this code in one of my classes public function __call($method, $args) { array_unshift($args, $method); call_user_method_array('view', $this, $args); } We've since switched servers, and they must use a newer version of PHP5, and I get the following message Function call_user_method_array() is deprecated...

Non-Deprecated StringBufferInputStream equivalent

I'm working with LogManager.readConfiguration() which requires an InputStream whose contents I'd like to come from a string. Is there an equivalent of StringBufferInputStream that's not deprecated, such as a ReaderToInputStreamAdaptor? ...

How can I replace the deprecated set_magic_quotes_runtime in php?

Hi all, I'm getting this message when I try to run a php script I have to use but did not write. Deprecated: Function set_magic_quotes_runtime() is deprecated in /opt/lampp/htdocs/webEchange/SiteWeb_V5/inc/fpdf.php on line 1810 Here is line 1810: set_magic_quotes_runtime(0); If this is a deprecated function, what can I replace it ...

error: strcpy was not declared in this scope

I get this problem in a c++ problem compiling in Ubuntu g++ version 4.4.3. I dont know the headers to include to solve this problem.. Thanks centro_medico.cpp: In constructor ‘Centro_medico::Centro_medico(char*, char*, int, int, float)’: centro_medico.cpp:5: error: ‘strcpy’ was not declared in this scope centro_medico.cpp:13: warning: d...

Non deprecated way of appending an element to a List in Scala 2.7.5?

How do you add an element to a List in Scala 2.7.5, without creating a new List and without using a deprecated solution. ...

Why is event handling in native Visual C++ deprecated?

http://msdn.microsoft.com/en-us/library/ee2k0a7d.aspx Event handling is also supported for native C++ classes (C++ classes that do not implement COM objects), however, that support is deprecated and will be removed in a future release. Anyone knows why? Couldn't find any explanation for this statement. ...

Are Java Properties effectively deprecated?

Java's Properties object hasn't changed much since pre-Java 5, and it hasn't got Generics support, or very useful helper methods (defined pattern to plug in classes to process properties or help to load all properties files in a directory, for example). Has development of Properties stopped? If so, what's the current best practice for ...

Ruby on Rails: What are partial hash arguments and full set arguments?

I'm using asserts_redirected_to in my unit tests, and I'm receiving this warning: DEPRECATION WARNING: Using assert_redirected_to with partial hash arguments is deprecated. Specify the full set arguments instead. What is a partial hash argument, and what is a full set argument? These aren't terms that I've seen used in the Rails commu...

What should the SQL keyword "ISABOUT" [deprecated?] be replaced with?

In MS SQL Full-text search, I'm using ISABOUT in my queries. For example, this should return the top 10 ProductIDs (PK) with a RANK Field in the ProductDetails Table SELECT * FROM CONTAINSTABLE( ProductDetails, *, ISABOUT("Nikon" WEIGHT (1.0), "Cameras" Weight(0.9)), 10 ) However, according to the SQL Documentation ISABOUT is depr...

How do i detect the deprecated methods in a program?

I've searched through the web and what I've found out is this: To make the compiler warn you of the details of which methods you used that were deprecated use the javac.exe -deprecation switch. Then look in the Javadoc for the deprecated methods to find out the recommended replacements. Sometimes you just have to rename. ...

C++0x without sequence point?

What does it mean by Sequence Point is deprecated from C++0x, Wikipedia says it is deprecated from C++0x. Does that mean undefined behaviors due to sequence point have no effect? ...

The android.provider.Contacts.People is deprecated! Any similar class that I can use to extract the address of the contacts?

How do I extract the address of the contacts stored in the Android emulator? ...

Non-deprecated replacement for NSCalibratedBlackColorSpace?

I'm implementing my own NSBitmapImageRep (to draw PBM image files). To draw them, I'm using NSDrawBitmap() and passing it the NSCalibratedBlackColorSpace (as the bits are 1 for black, 0 for white). Trouble is, I get the following warning: warning: 'NSCalibratedBlackColorSpace' is deprecated However, I couldn't find a good replacement...

How to deprecate a macro in GCC?

Hi, i Know how to use attribute deprecated to deprcate a function like this: int old_fn () __attribute__ ((deprecated)); But how to deprecate a Macro like this: #define OLD_MACRO 1 Thank you in advance. Eric ...

Help me convert .NET 1.1 Xml validation code to .NET 2.0 please.

It would be fantastic if you could help me rid of these warnings below. I have not been able to find a good document. Since the warnings are concentrated in just the private void ValidateConfiguration( XmlNode section ) section, hopefully this is not terribly hard to answer, if you have encountered this before. Thanks! 'System.Configur...

Replace CAPICOM with .NET, validate certificate

Hi My component is responsible for downloading files from the server. As part of file validation I have used CAPICOM (SignedCode object) to validate if a certificate contains a specific string and call to Validate method of the SignedCode object. In case the file contains certificate without a requested string in the name, user was prom...

Overriding a deprecated JComponent method

In a rich client CRUD framework I'm working on, I have a so-called edit panel, which as the name suggests, is involved in editing row objects via the usual swing input components. Now, the panel has a default focus component field, which references the input field which should receive focus when the edit panel is initialized or cleared....