patrik
patrik

Reputation: 4558

Does Eclipse sometimes display incorrect deprecation warnings?

I have been looking on the web and the only thing I have found is some bugs which may not be real bugs. The question is quite clear from the title. Is there a known issue whether or not the deprecation warnings in Eclipse may be incorrect? I one example is the rectangleBuilder from javafx.scene.shape. The class is classified as deprecated in Eclipse, but There is no hint to this in Oracles deprecation list or in the documentation.

Upvotes: 0

Views: 147

Answers (1)

greg-449
greg-449

Reputation: 111142

No, Eclipse does not usually get this wrong.

RectangleBuilder is marked as deprecated in the JavaFX source:

/**
Builder class for javafx.scene.shape.Rectangle
@see javafx.scene.shape.Rectangle
@deprecated This class is deprecated and will be removed in the next version
* @since JavaFX 2.0
*/
@javax.annotation.Generated("Generated by javafx.builder.processor.BuilderProcessor")
@Deprecated
public class RectangleBuilder<B extends javafx.scene.shape.RectangleBuilder<B>> extends javafx.scene.shape.ShapeBuilder<B> implements javafx.util.Builder<javafx.scene.shape.Rectangle> {

Upvotes: 1

Related Questions