Skip to content

Commit

Permalink
Support value "LATEST" as metaversion
Browse files Browse the repository at this point in the history
  • Loading branch information
bezda authored Nov 7, 2017
1 parent 2959ff9 commit b8b9dec
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ public Response content(


// default version
if ("LATEST".equals(version)) {
version = null;
}
version = Optional.ofNullable(version).orElse(latestVersion(
repositoryName, groupId, artifactId, classifier, extension
));
Expand Down

0 comments on commit b8b9dec

Please sign in to comment.