Skip to content

Commit 6ddabb8

Browse files
committed
Merge branch '1.1.x'
2 parents 1f77579 + 0622b3e commit 6ddabb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ If the above customization techniques are too limited, you can register the
12851285
TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
12861286
factory.setPort(9000);
12871287
factory.setSessionTimeout(10, TimeUnit.MINUTES);
1288-
factory.addErrorPages(new ErrorPage(HttpStatus.404, "/notfound.html");
1288+
factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/notfound.html");
12891289
return factory;
12901290
}
12911291
----

0 commit comments

Comments
 (0)