tmf: Remove an annotation temporarily to work around Sonarqube bug
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 15 Dec 2015 06:11:43 +0000 (01:11 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 15 Dec 2015 18:01:09 +0000 (13:01 -0500)
There is a Sonarqube bug with type annotations and arrays, see
https://groups.google.com/forum/#!topic/sonarqube/VTsAYxhGRiA
and
https://github.com/SonarSource/sonar-java/pull/537

By removing the @NonNull, it brings back a warning but makes the
Sonarqube build work again.

Change-Id: I6a03295432c7c452b4dca9018d4c17ba4b991980
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/62684
Reviewed-by: Hudson CI
Reviewed-by: Francis Giraldeau <francis.giraldeau@gmail.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java

index 204a184c847ab333406567287a68359a6e54f83c..9528a97f89fc26df431bfb175ce96415d6dd25d7 100644 (file)
@@ -150,7 +150,7 @@ public abstract class AbstractTimeGraphView extends TmfView implements ITmfTimeA
     private final Map<ITmfTrace, List<TimeGraphEntry>> fEntryListMap = new HashMap<>();
 
     /** The trace to filters hash map */
-    private final Map<ITmfTrace, @NonNull ViewerFilter[]> fFiltersMap = new HashMap<>();
+    private final Map<ITmfTrace, ViewerFilter[]> fFiltersMap = new HashMap<>();
 
     /** The trace to marker event sources hash map */
     private final Map<ITmfTrace, List<IMarkerEventSource>> fMarkerEventSourcesMap = new HashMap<>();
This page took 0.028153 seconds and 5 git commands to generate.