Document bean validation

This commit is contained in:
Eric Bottard
2017-09-07 14:48:50 +02:00
parent 3b0901af17
commit 919cefbc52
3 changed files with 31 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ class JLineShellAutoConfiguration {
@Autowired
private Shell shell;
@Bean
@Bean(destroyMethod = "close")
public Terminal terminal() {
try {
return TerminalBuilder.builder().build();