aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-04-21 01:47:18 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-04-21 01:48:34 +0400
commitec2974edf37405ed45328dd5885409dfc861ca63 (patch)
tree735160968285b7813bd2f66004b5aac21dc0b861 /sonar-plugin-api/src
parent986b9dfe5b578402b3ecdb7ccde5abc5fe06f7da (diff)
downloadsonarqube-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.java5
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;