Skip to content

Commit

Permalink
Merge pull request #6 from giomxx/main
Browse files Browse the repository at this point in the history
fix paper version detection in prompt.py
  • Loading branch information
drizmans authored Jun 9, 2024
2 parents 5f12340 + 64a9727 commit f841ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def getPaperRecommendedVersion(zip):

splitted = list(map(int, version.split(".")))
major, minor = [splitted[0], splitted[1]]
if major >= 1 and minor >= 21:
if major >= 1 and minor >= 20:
return "Java 21"
if major >= 1 and minor >= 17:
return "Java 17"
Expand Down

0 comments on commit f841ee4

Please sign in to comment.