aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-graph
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-15 12:44:06 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-15 12:44:06 +0200
commit92f899b7f11ab6127f7333289a06e31f45eaa8e0 (patch)
tree39d53d1f1bcef6b4705a8e757ee37aa81a7f3c5d /sonar-graph
parent25e47d9f694fc9805e1ac20930abdd1b514d3cac (diff)
downloadsonarqube-92f899b7f11ab6127f7333289a06e31f45eaa8e0.tar.gz
sonarqube-92f899b7f11ab6127f7333289a06e31f45eaa8e0.zip
Fix quality flaws
Diffstat (limited to 'sonar-graph')
-rw-r--r--sonar-graph/src/main/java/org/sonar/graph/DsmCell.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-graph/src/main/java/org/sonar/graph/DsmCell.java b/sonar-graph/src/main/java/org/sonar/graph/DsmCell.java
index 03c215383a2..88729bff2bc 100644
--- a/sonar-graph/src/main/java/org/sonar/graph/DsmCell.java
+++ b/sonar-graph/src/main/java/org/sonar/graph/DsmCell.java
@@ -19,12 +19,14 @@
*/
package org.sonar.graph;
+import javax.annotation.Nullable;
+
public class DsmCell {
private final Edge edge;
private final boolean feedbackEdge;
- public DsmCell(Edge edge, boolean isFeedbackEdge) {
+ public DsmCell(@Nullable Edge edge, boolean isFeedbackEdge) {
this.feedbackEdge = isFeedbackEdge;
this.edge = edge;
}