Skip to content

Commit

Permalink
Fix the variable name in the example of "When parameter names are una…
Browse files Browse the repository at this point in the history
…vailable".

RELNOTES=n/a
PiperOrigin-RevId: 488806361
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Nov 16, 2022
1 parent a91775b commit 61967ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion value/userguide/autobuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ Introducing a static method fixes the problem:
import java.time.LocalTime;

public class TimeUtils {
static LocalTime localTimeOf(int hour, int second, int second) {
static LocalTime localTimeOf(int hour, int minute, int second) {
return LocalTime.of(hour, minute, second);
}

Expand Down

0 comments on commit 61967ec

Please sign in to comment.