From 397225c8cfecefa3029120e7e8a14bda7b66338c Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 4 May 2015 11:39:01 +0200 Subject: Cleanup batch side from specific code for devcockpit and views --- .../main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 childrenMeasures = context.getChildrenMeasures(CoreMetrics.DIRECTORIES); Double sum = MeasureUtils.sum(false, childrenMeasures); if (sum != null) { -- cgit v1.2.3