From 92f899b7f11ab6127f7333289a06e31f45eaa8e0 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 15 Oct 2014 12:44:06 +0200 Subject: Fix quality flaws --- sonar-graph/src/main/java/org/sonar/graph/DsmCell.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sonar-graph') 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; } -- cgit v1.2.3