summaryrefslogtreecommitdiffstats
path: root/sonar-squid
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-27 23:43:19 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-27 23:43:19 +0200
commitd4ae5228bb668e65baa644b52d41286d5f3d55cd (patch)
tree8b3f18401fade28db31c1b9364e2f4ebad2b017d /sonar-squid
parent2b560c35ab24a4f7db27d7e180a64e830b9a56a1 (diff)
downloadsonarqube-d4ae5228bb668e65baa644b52d41286d5f3d55cd.tar.gz
sonarqube-d4ae5228bb668e65baa644b52d41286d5f3d55cd.zip
Fix coding violations
Diffstat (limited to 'sonar-squid')
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java
index 4114818c0e7..44440fd469d 100644
--- a/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java
+++ b/sonar-squid/src/main/java/org/sonar/squid/api/SourceCode.java
@@ -141,6 +141,7 @@ public abstract class SourceCode implements Measurable, Comparable<SourceCode> {
/**
* @deprecated since 2.1. It's replaced by getData(MetricDef). It's still defined for binary compatibility.
*/
+ @Deprecated
public Object getData(Metric metric) {
return measures.getData(metric);
}