Skip to content

Commit 19e7aaa

Browse files
committed
Fix sonar
1 parent d774888 commit 19e7aaa

File tree

1 file changed

+4
-1
lines changed
  • vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo

1 file changed

+4
-1
lines changed

vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/LeafletView.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,10 @@ private void addComplexPolygonDemo()
368368
));
369369
}
370370

371-
@SuppressWarnings("java:S5413") // Yes it's used correctly
371+
// S5413 - Yes it's used correctly
372+
// S2245 - This is a reproducible demo
373+
// S1215 - This is a memory test and we don't rely on random GC collects
374+
@SuppressWarnings({"java:S5413", "java:S2245", "java:S1215", "java:S3776"})
372375
private void addMemoryTestDemo()
373376
{
374377
final AtomicBoolean abort = new AtomicBoolean(false);

0 commit comments

Comments
 (0)