Verified Commit 280e5363 authored by Johannes Visintini's avatar Johannes Visintini
Browse files

suppress sonarlint rule java:S106 for tutorial

which allows usage of System.out instead of a logging system
parent f8620439
Pipeline #2510 passed with stage
in 0 seconds
......@@ -9,6 +9,7 @@ import org.heigit.ohsome.oshdb.api.mapreducer.OSMContributionView;
import org.heigit.ohsome.oshdb.util.time.OSHDBTimestamps.Interval;
import org.heigit.ohsome.oshdb.util.time.TimestampFormatter;
@SuppressWarnings("java:S106")
public class DistinctContributors {
public static void main(String[] args) throws Exception {
SortedMap<OSHDBTimestamp, Integer> result;
......
......@@ -11,6 +11,7 @@ import org.heigit.ohsome.oshdb.util.geometry.Geo;
import org.heigit.ohsome.oshdb.util.time.OSHDBTimestamps.Interval;
import org.heigit.ohsome.oshdb.util.time.TimestampFormatter;
@SuppressWarnings("java:S106")
public class RoadLength {
static final List<String> other = List.of("unclassified", "road", "service", "track", "path",
"pedestrian", "footway", "cycleway", "steps", "platform", "bridleway");
......
......@@ -12,6 +12,7 @@ import org.heigit.ohsome.oshdb.util.geometry.Geo;
import org.heigit.ohsome.oshdb.util.mappable.OSMEntitySnapshot;
import org.heigit.ohsome.oshdb.util.time.OSHDBTimestamps.Interval;
@SuppressWarnings("java:S106")
public class Tutorial {
public static void main(String[] args) throws Exception {
// -- PREPARATION --
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment