Skip to content

Commit

Permalink
Update Typo CaptainsLog.java
Browse files Browse the repository at this point in the history
Updated the typo of the end range to be 10000 instead of 11000
  • Loading branch information
santialb authored Nov 28, 2023
1 parent de42c61 commit ad9c7e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ char randomPlanetClass() {

String randomShipRegistryNumber() {
var start = 1000;
var end = 11000;
var end = 10000;
return String.format("NCC-%d", start + random.nextInt(end - start));
}

Expand Down

0 comments on commit ad9c7e6

Please sign in to comment.