diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-04-21 01:47:18 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-04-21 01:48:34 +0400 |
commit | ec2974edf37405ed45328dd5885409dfc861ca63 (patch) | |
tree | 735160968285b7813bd2f66004b5aac21dc0b861 /sonar-plugin-api/src | |
parent | 986b9dfe5b578402b3ecdb7ccde5abc5fe06f7da (diff) | |
download | sonarqube-ec2974edf37405ed45328dd5885409dfc861ca63.tar.gz sonarqube-ec2974edf37405ed45328dd5885409dfc861ca63.zip |
SONAR-2341 Deprecate Project.getPackaging and don't use it in findbugs plugin
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java index c7eb9c41600..8780c8b205e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java @@ -146,7 +146,9 @@ public class Project extends Resource { /** * @return the project's packaging + * @deprecated in 2.8. See http://jira.codehaus.org/browse/SONAR-2341 */ + @Deprecated public String getPackaging() { return packaging; } @@ -181,7 +183,10 @@ public class Project extends Resource { /** * For internal use only. + * + * @deprecated in 2.8. See http://jira.codehaus.org/browse/SONAR-2341 */ + @Deprecated public Project setPackaging(String packaging) { this.packaging = packaging; return this; |