diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-15 08:28:43 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-15 08:28:43 +0000 |
commit | c7ca493dc4aed0aa2e49b31c00a477d37b73dcca (patch) | |
tree | a4df37c29de68e7a566ac9745837dfd345d639e8 /plugins/sonar-design-plugin/src | |
parent | 84b7c5e10a695521176026edc0fc03342d887cb7 (diff) | |
download | sonarqube-c7ca493dc4aed0aa2e49b31c00a477d37b73dcca.tar.gz sonarqube-c7ca493dc4aed0aa2e49b31c00a477d37b73dcca.zip |
SONAR-249 rename the SNAPSHOTS.VARIATION_xxx columns + add SNAPSHOTS.PERIODx_DATE
Diffstat (limited to 'plugins/sonar-design-plugin/src')
-rw-r--r-- | plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java index dea1bfceb7d..aee592ad97f 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java @@ -76,7 +76,7 @@ public class MavenDependenciesSensor implements Sensor { public boolean endVisit(DependencyNode node) { if (node.getParent() != null && node.getParent() != node) { - saveDependency(node, project, context); + saveDependency(node, context); } return true; } @@ -99,7 +99,7 @@ public class MavenDependenciesSensor implements Sensor { } } - protected void saveDependency(DependencyNode node, Project project, SensorContext context) { + protected void saveDependency(DependencyNode node, SensorContext context) { Resource from = (node.getParent().getParent()==null) ? index.getProject() : toResource(node.getParent().getArtifact(), context); Resource to = toResource(node.getArtifact(), context); Dependency dependency = new Dependency(from, to); |