forked from phoedos/pmd
Merge branch 'master' into pmd/7.0.x
This commit is contained in:
@ -23,6 +23,13 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### API Changes
|
||||
|
||||
#### Deprecated APIs
|
||||
|
||||
##### For removal
|
||||
|
||||
* The method {% jdoc java::ast.ASTImportDeclaration#getPackage() %} has been deprecated and
|
||||
will be removed with PMD 7.0.0.
|
||||
|
||||
### External Contributions
|
||||
|
||||
{% endtocmaker %}
|
||||
|
@ -158,9 +158,10 @@ public class ASTImportDeclaration extends AbstractJavaTypeNode {
|
||||
* type or method imported by this declaration. This may be null if the
|
||||
* auxclasspath is not correctly set, as this method depends on correct
|
||||
* type resolution.
|
||||
*
|
||||
* @deprecated this will be removed with PMD 7.0.0
|
||||
*/
|
||||
// TODO deprecate? This is only used in a test. I don't think it's really
|
||||
// useful and it gives work to ClassTypeResolver.
|
||||
@Deprecated
|
||||
public Package getPackage() {
|
||||
return this.pkg;
|
||||
}
|
||||
|
Reference in New Issue
Block a user