File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
src/main/java/telegram/bot/component Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 22
33import lombok .Getter ;
44import lombok .Setter ;
5- import jakarta .validation .constraints .NotBlank ;
65import org .springframework .boot .context .properties .ConfigurationProperties ;
76import org .springframework .context .annotation .Configuration ;
87import org .springframework .validation .annotation .Validated ;
1413@ Configuration
1514@ ConfigurationProperties (prefix = "github" )
1615public class GitHubProperties {
17- @ NotBlank
1816 private String token ;
19- @ NotBlank
2017 private String url ;
2118}
2219
Original file line number Diff line number Diff line change 11package telegram .bot .component ;
22
3- import jakarta .validation .constraints .NotBlank ;
43import lombok .Getter ;
54import lombok .Setter ;
65import org .springframework .boot .context .properties .ConfigurationProperties ;
1110@ Configuration
1211@ ConfigurationProperties (prefix = "telegram" )
1312public class TelegramProperties {
14- @ NotBlank
1513 private String token ;
1614}
You can’t perform that action at this time.
0 commit comments