Skip to content

Commit

Permalink
Apply suggestions from rkflx
Browse files Browse the repository at this point in the history
Co-authored-by: rkflx <[email protected]>
  • Loading branch information
zod and rkflx committed Sep 19, 2023
1 parent af7ca02 commit 8fd348f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion brouter-core/src/main/java/btools/router/OsmTrack.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import btools.util.StringUtils;

public final class OsmTrack {
final private String version = getClass().getPackage().getImplementationVersion();
final private static String version = OsmTrack.class.getPackage().getImplementationVersion();

// csv-header-line
private static final String MESSAGES_HEADER = "Longitude\tLatitude\tElevation\tDistance\tCostPerKm\tElevCost\tTurnCost\tNodeCost\tInitialCost\tWayTags\tNodeTags\tTime\tEnergy";
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ gitVersioning.apply {
version = '${ref.version}'
}
branch('.+') {
version = '${describe.tag.version}-${describe.distance}-${ref}-g${commit.short}'
version = '${describe.tag.version}+${describe.distance}-${ref}-g${commit.short}'
}
}

Expand Down

0 comments on commit 8fd348f

Please sign in to comment.