Skip to content

Commit

Permalink
Make the Time record private to restrict its visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
PENEKhun committed Sep 1, 2024
1 parent 5a6d43c commit e9f2af3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ public static Time convertToSeconds(int seconds) {
/**
* Time record.
*/
public record Time(int days, int hours, int minutes, int seconds) {
private record Time(int days, int hours, int minutes, int seconds) {
}
}

0 comments on commit e9f2af3

Please sign in to comment.