diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-05-04 11:39:01 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-05-04 14:37:20 +0200 |
commit | 397225c8cfecefa3029120e7e8a14bda7b66338c (patch) | |
tree | 7e1c43950627db5d7e96e4600fb7d9a4d664e5af /plugins | |
parent | 9ea26061ad812561def023b5c59215513ec8c5dd (diff) | |
download | sonarqube-397225c8cfecefa3029120e7e8a14bda7b66338c.tar.gz sonarqube-397225c8cfecefa3029120e7e8a14bda7b66338c.zip |
Cleanup batch side from specific code for devcockpit and views
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java index 84c6e7169c6..b8dddd4eb76 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java @@ -59,7 +59,7 @@ public final class DirectoriesDecorator implements Decorator { if (Resource.QUALIFIER_DIRECTORY.equals(resource.getQualifier())) { context.saveMeasure(CoreMetrics.DIRECTORIES, 1.0); - } else if (ResourceUtils.isSet(resource) || ResourceUtils.isView(resource) || ResourceUtils.isSubview(resource)) { + } else if (ResourceUtils.isSet(resource)) { Collection<Measure> childrenMeasures = context.getChildrenMeasures(CoreMetrics.DIRECTORIES); Double sum = MeasureUtils.sum(false, childrenMeasures); if (sum != null) { |