Skip to content

Commit f1f99fd

Browse files
tobias74karussell
authored andcommitted
Make BikeCommonFalgEncoder abstract (graphhopper#941)
Flag-Encoders must call init() as their last action in the constructor. Therefore any FlagEncoder that does not call init() must be abstract.
1 parent 196aac2 commit f1f99fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/graphhopper/routing/util/BikeCommonFlagEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @author Nop
3737
* @author ratrun
3838
*/
39-
public class BikeCommonFlagEncoder extends AbstractFlagEncoder {
39+
abstract public class BikeCommonFlagEncoder extends AbstractFlagEncoder {
4040
/**
4141
* Reports whether this edge is unpaved.
4242
*/

0 commit comments

Comments
 (0)