Skip to content

Commit

Permalink
fix(routing): suppress spotbugs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kschrab committed Mar 21, 2024
1 parent 7128d75 commit dc8deb0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import com.graphhopper.util.Parameters;
import com.graphhopper.util.PointList;
import com.graphhopper.util.shapes.GHPoint;
import edu.umd.cs.findbugs.annotations.SuppressWarnings;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
Expand All @@ -73,9 +74,9 @@
import java.util.List;
import java.util.Set;

@SuppressWarnings(value = "MS_SHOULD_BE_FINAL", justification = "Static fields kept public and adjustable for user customization")
public class GraphHopperRouting {


private static final Logger LOG = LoggerFactory.getLogger(GraphHopperRouting.class);

public static final Profile PROFILE_CAR = new Profile("car").setVehicle("car").setTurnCosts(true);
Expand Down

0 comments on commit dc8deb0

Please sign in to comment.